TextView.addOverlay

Adds child at a fixed coordinate in the gtk.text_view.TextView's text window.

The xpos and ypos must be in buffer coordinates (see gtk.text_view.TextView.getIterLocation to convert to buffer coordinates).

child will scroll with the text view.

If instead you want a widget that will not move with the gtk.text_view.TextView contents see gtk.overlay.Overlay.

class TextView
void
addOverlay

Parameters

child gtk.widget.Widget
xpos int

X position of child in window coordinates

ypos int

Y position of child in window coordinates