Next: , Previous: Package_Gtk.Text_Iter, Up: Top



Package Gtk.Text_Mark

The Gtk_Text_Mark data type.

Widget Hierarchy
     GObject                       (see Package_Glib.Object)
     Gtk_Object                    (see Package_Gtk.Object)
        \___ Gtk_Text_Mark         (see Package_Gtk.Text_Mark)
     

Subprograms
function Get_Type return Glib.GType;
Return the internal value associated with a Gtk_Label.

procedure Set_Visible (Mark : access Gtk_Text_Mark_Record; Setting : Boolean := True);
Set the visibility of Mark.
The insertion point is normally visible, i.e. you can see it as a vertical bar. Also, the text widget uses a visible mark to indicate where a drop will occur when dragging-and-dropping text. Most other marks are not visible. Marks are not visible by default.

function Get_Visible (Mark : access Gtk_Text_Mark_Record) return Boolean;
Return True if the mark is visible.
i.e. a cursor is displayed for it.

function Get_Name (Mark : access Gtk_Text_Mark_Record) return String;
Return the mark name; Return "" for anonymous marks.

function Get_Deleted (Mark : access Gtk_Text_Mark_Record) return Boolean;
Returns True if the mark has been removed from its buffer with
Gtk.Text_Buffer.Delete_Mark. Marks can't be used once deleted.

function Get_Left_Gravity (Mark : access Gtk_Text_Mark_Record) return Boolean;
Return True if the mark has left gravity, False otherwise.

Converting to/from GValue


procedure Set_Text_Mark (Val : in out Glib.Values.GValue; Mark : access Gtk_Text_Mark_Record);
Set the value of the given GValue to Mark.

function Get_Text_Mark (Val : Glib.Values.GValue) return Gtk_Text_Mark;
Extract the iterator from the given GValue.