Class: Gtk::TextChildAnchor
- Inherits:
-
Object
- Object
- Gtk::TextChildAnchor
- Defined in:
- (unknown)
Instance Method Summary collapse
-
#deleted ⇒ TrueClass
Determines whether a child anchor has been deleted from the buffer.
-
#new ⇒ Gtk::TextChildAnchor
Creates a new Gtk::TextChildAnchor.
-
#widgets ⇒ GLib::List
Gets a list of all widgets anchored at this child anchor.
Instance Method Details
#deleted ⇒ TrueClass
Determines whether a child anchor has been deleted from the buffer. Keep in mind that the child anchor will be unreferenced when removed from the buffer, so you need to hold your own reference (with g_object_ref()) if you plan to use this function — otherwise all deleted child anchors will also be finalized.
#new ⇒ Gtk::TextChildAnchor
Creates a new Gtk::TextChildAnchor. Usually you would then insert it into a Gtk::TextBuffer with gtk_text_buffer_insert_child_anchor(). To perform the creation and insertion in one step, use the convenience function gtk_text_buffer_create_child_anchor().
#widgets ⇒ GLib::List
Gets a list of all widgets anchored at this child anchor. The returned list should be freed with g_list_free().