TextView.addOverlay

Adds @child at a fixed coordinate in the GtkTextView's text window.

The @xpos and @ypos must be in buffer coordinates (see [method@Gtk.TextView.get_iter_location] to convert to buffer coordinates).

@child will scroll with the text view.

If instead you want a widget that will not move with the GtkTextView contents see #GtkOverlay.

class TextView
void
addOverlay
(,
int xpos
,
int ypos
)

Parameters

child Widget

a #GtkWidget

xpos int

X position of child in window coordinates

ypos int

Y position of child in window coordinates

Meta