gtk.TextChildAnchor — a location in a textbuffer for placing widgets
class gtk.TextChildAnchor(gobject.GObject): |
A gtk.TextChildAnchor provides a location in a gtk.TextBuffer for placing child widgets in a gtk.TextView. Since a gtk.TextBuffer can be associated with more than one gtk.TextView a gtk.TextChildAnchor can have a different child widget inserted for each textview it is displayed in.
|
Returns : | a new gtk.TextChildAnchor object |
Creates a new gtk.TextChildAnchor. Usually you would then insert it into a gtk.TextBuffer with the gtk.TextBuffer.insert_child_anchor() method. To perform the creation and insertion in one step, use the convenience method gtk.TextBuffer.create_child_anchor() method.