Class: Gtk::TextChildAnchor

Inherits:
Object
  • Object
show all
Defined in:
(unknown)

Instance Method Summary collapse

Instance Method Details

#deletedTrueClass

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.

Returns:

  • (TrueClass)

    true if the child anchor has been deleted from its buffer

#newGtk::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().

Returns:

#widgetsGLib::List

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

Returns:

  • (GLib::List)

    list of widgets anchored at anchor