Class: Gtk::TextChildAnchor

  • Object
show all
Defined in:

Instance Method Summary collapse

Instance Method Details


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.


  • (TrueClass)

    true if the child anchor has been deleted from its buffer


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().



Gets a list of all widgets anchored at this child anchor. The returned list should be freed with g_list_free().


  • (GLib::List)

    list of widgets anchored at anchor