Class: Gtk::TextChildAnchor
- Inherits:
-
Object
- Object
- Gtk::TextChildAnchor
- Defined in:
- (unknown)
Instance Method Summary collapse
-
#deleted ⇒ Boolean
Determines whether a child anchor has been deleted from the buffer.
-
#get_widgets(out_len) ⇒ Array<Gtk::Widget>
Gets a list of all widgets anchored at this child anchor.
-
#initialize(character) ⇒ Gtk::TextChildAnchor
constructor
Creates a new
GtkTextChildAnchorwith the given replacement character.
Constructor Details
#initialize(character) ⇒ Gtk::TextChildAnchor
Creates a new GtkTextChildAnchor with the given replacement character.
Usually you would then insert it into a GtkTextBuffer with
[methodGtk.TextBuffer.insert_child_anchor].
Instance Method Details
#deleted ⇒ Boolean
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.
#get_widgets(out_len) ⇒ Array<Gtk::Widget>
Gets a list of all widgets anchored at this child anchor.
The order in which the widgets are returned is not defined.