A Gtk.Text_Child_Anchor.Gtk_Text_Child_Anchor is a spot in the buffer where child widgets can be "anchored" (inserted inline, as if they were characters). The anchor can have multiple widgets anchored, to allow for multiple views.
function Get_Deleted
(Anchor : not null access Gtk_Text_Child_Anchor_Record) return 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.
True if the child anchor has been deleted from its buffer
function Get_Type return Glib.GType
function Get_Widgets
(Anchor : not null access Gtk_Text_Child_Anchor_Record)
return Gtk.Widget.Widget_SList.GSlist
Gets a list of all widgets anchored at this child anchor. The returned list should be freed with g_list_free.
procedure Gtk_New (Anchor : out Gtk_Text_Child_Anchor)
Creates a new Gtk.Text_Child_Anchor.Gtk_Text_Child_Anchor. Usually you would then insert it into a Gtk.Text_Buffer.Gtk_Text_Buffer 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. Initialize does nothing if the object was already created with another call to Initialize* or G_New.
type Gtk_Text_Child_Anchor is access all Gtk_Text_Child_Anchor_Record'Class;
function Gtk_Text_Child_Anchor_New return Gtk_Text_Child_Anchor
Creates a new Gtk.Text_Child_Anchor.Gtk_Text_Child_Anchor. Usually you would then insert it into a Gtk.Text_Buffer.Gtk_Text_Buffer 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.
type Gtk_Text_Child_Anchor_Record is new GObject_Record with null record;
procedure Initialize
(Anchor : not null access Gtk_Text_Child_Anchor_Record'Class)
Creates a new Gtk.Text_Child_Anchor.Gtk_Text_Child_Anchor. Usually you would then insert it into a Gtk.Text_Buffer.Gtk_Text_Buffer 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. Initialize does nothing if the object was already created with another call to Initialize* or G_New.