Marks a spot in a GtkTextBuffer where child widgets can be "anchored".
The anchor can have multiple widgets anchored, to allow for multiple views.
function Get_Child_Anchor
(Iter : Gtk.Text_Iter.Gtk_Text_Iter) return Gtk_Text_Child_Anchor
If the location at Iter contains a child anchor, the anchor is returned (with no new reference count added). Otherwise, null is returned.
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_Array
Gets a list of all widgets anchored at this child anchor. The order in which the widgets are returned is not defined.
procedure Gtk_New (Anchor : out Gtk_Text_Child_Anchor)
Creates a new GtkTextChildAnchor. Usually you would then insert it into a GtkTextBuffer with [methodGtk.TextBuffer.insert_child_anchor]. To perform the creation and insertion in one step, use the convenience function [methodGtk.TextBuffer.create_child_anchor]. Initialize does nothing if the object was already created with another call to Initialize* or G_New.
procedure Gtk_New_With_Replacement
(Anchor : out Gtk_Text_Child_Anchor;
Character : UTF8_String)
Creates a new GtkTextChildAnchor with the given replacement character. Usually you would then insert it into a GtkTextBuffer with [methodGtk.TextBuffer.insert_child_anchor]. Since: gtk+ 4.6 Initialize_With_Replacement does nothing if the object was already created with another call to Initialize* or G_New.
a replacement character
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 GtkTextChildAnchor. Usually you would then insert it into a GtkTextBuffer with [methodGtk.TextBuffer.insert_child_anchor]. To perform the creation and insertion in one step, use the convenience function [methodGtk.TextBuffer.create_child_anchor].
function Gtk_Text_Child_Anchor_New_With_Replacement
(Character : UTF8_String) return Gtk_Text_Child_Anchor
Creates a new GtkTextChildAnchor with the given replacement character. Usually you would then insert it into a GtkTextBuffer with [methodGtk.TextBuffer.insert_child_anchor]. Since: gtk+ 4.6
a replacement character
type Gtk_Text_Child_Anchor_Record is new GObject_Record with null record;
type Gtk_Widget_Array is
array (Natural range <>) of Gtk.Widget.Gtk_Widget;
procedure Initialize
(Anchor : not null access Gtk_Text_Child_Anchor_Record'Class)
Creates a new GtkTextChildAnchor. Usually you would then insert it into a GtkTextBuffer with [methodGtk.TextBuffer.insert_child_anchor]. To perform the creation and insertion in one step, use the convenience function [methodGtk.TextBuffer.create_child_anchor]. Initialize does nothing if the object was already created with another call to Initialize* or G_New.
procedure Initialize_With_Replacement
(Anchor : not null access Gtk_Text_Child_Anchor_Record'Class;
Character : UTF8_String)
Creates a new GtkTextChildAnchor with the given replacement character. Usually you would then insert it into a GtkTextBuffer with [methodGtk.TextBuffer.insert_child_anchor]. Since: gtk+ 4.6 Initialize_With_Replacement does nothing if the object was already created with another call to Initialize* or G_New.
a replacement character