TextView.addChildInWindow

Adds a child at fixed coordinates in one of the text widget's windows.

The window must have nonzero size (see gtk.text_view.TextView.setBorderWindowSize). Note that the child coordinates are given relative to scrolling. When placing a child in #GTK_TEXT_WINDOW_WIDGET, scrolling is irrelevant, the child floats above all scrollable areas. But when placing a child in one of the scrollable windows (border windows or text window) it will move with the scrolling as needed.

class TextView
void
addChildInWindow

Parameters

child gtk.widget.Widget

a #GtkWidget

whichWindow gtk.types.TextWindowType

which window the child should appear in

xpos int

X position of child in window coordinates

ypos int

Y position of child in window coordinates