Libraries:Gtk:Gtk:TextChildAnchor
Types
T
Inherits from:Gtk.GObject.Object.T
Constants
Nil : T
Functions
GetType() : Gtk.GObject.Type.T
New() : Gtk.Gtk.TextChildAnchor.T
Creates a new T. Usually you would then insert it into a Gtk.Gtk.TextBuffer.T with Gtk.Gtk.TextBuffer.InsertChildAnchor. To perform the creation and insertion in one step, use the convenience function Gtk.Gtk.TextBuffer.CreateChildAnchor.
Returns | a new T |
Methods
:GetDeleted(self @ T) : Std.Symbol.T
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.
anchor | a T |
Returns | TRUE if the child anchor has been deleted from its buffer |
:GetWidgets(self @ T) : Std.Object.T
Gets a list of all widgets anchored at this child anchor. The returned list should be freed with g_list_free().
anchor | a T |
Returns | list of widgets anchored at anchor. [element-type GtkWidget][transfer container] |