TextChildAnchor

You may wish to begin by reading the text widget conceptual overview which gives an overview of all the objects and data types related to the text widget and how they work together.

Constructors

this
this(GtkTextChildAnchor* gtkTextChildAnchor)

Sets our main struct and passes it to the parent class

this
this()

Creates a new GtkTextChildAnchor. Usually you would then insert it into a GtkTextBuffer 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().

Members

Functions

getDeleted
int getDeleted()

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.

getStruct
void* getStruct()

the main Gtk struct as a void*

getTextChildAnchorStruct
GtkTextChildAnchor* getTextChildAnchorStruct()

Get the main Gtk struct

getWidgets
ListG getWidgets()

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

Variables

gtkTextChildAnchor
GtkTextChildAnchor* gtkTextChildAnchor;

the main Gtk struct

Meta