GObject.Object
Gtk.TextChildAnchor
Import line: | Gtk = imports.gi.Gtk; |
GIR File: | Gtk-3.0.gir |
C documentation: | GtkTextChildAnchor |
Class : | TextChildAnchor |
Extends: | GObject.Object |
Properties | Defined By | |
---|---|---|
parent_instance : GObject.Object
read only
|
Gtk.TextChildAnchor | |
segment : void*
read only
|
Gtk.TextChildAnchor |
Method / Constructor | Defined By | |
---|---|---|
new Gtk.TextChildAnchor
(Object properties)
Create a new Gtk.TextChildAnchor
Create a new Gtk.TextChildAnchor
|
||
get_deleted
()
:
gboolean
Determines whether a child anchor has been deleted from
the buffer.
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.
|
Gtk.TextChildAnchor | |
get_widgets
()
:
Array
Gets a list of all widgets anchored at this child anchor.
Gets a list of all widgets anchored at this child anchor.
The returned list should be freed with g_list_free().
|
Gtk.TextChildAnchor |
None |
Class / Namespace | Method / Signal / Properties |
---|---|
Gtk.TextBuffer
Signal |
The ::insert-child-anchor signal is emitted to insert a
GtkTextChildAnchor in a GtkTextBuffer. |
Gtk.TextBuffer
Method |
create_child_anchor
(TextIter iter)
:
Gtk.TextChildAnchor
This is a convenience function which simply creates a child anchor
with gtk_text_child_anchor_new() and inserts it into the buffer with gtk_text_buffer_insert_child_anchor(). |
Gtk.TextBuffer
Method |
Obtains the location of anchor within buffer.
|
Gtk.TextBuffer
Method |
insert_child_anchor
(TextIter iter, TextChildAnchor anchor)
:
none
Inserts a child widget anchor into the text buffer at iter.
|
Gtk.TextIter
Method |
get_child_anchor
()
:
Gtk.TextChildAnchor
If the location at iter contains a child anchor, the
anchor is returned (with no new reference count added). |
Gtk.TextView
Method |
add_child_at_anchor
(Widget child, TextChildAnchor anchor)
:
none
Adds a child widget in the text buffer, at the given anchor.
|