gtk-sharp0.0.0.0Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details.
A GtkTextMark is like a bookmark in a text buffer; it preserves a position in the text.
A GtkTextMark is like a bookmark in a text buffer; it
preserves a position in the text. You can convert the mark to
an iterator using . Unlike
iterators, marks remain valid across buffer mutations, because
their behavior is defined when text is inserted or
deleted. When text containing a mark is deleted, the mark
remains in the position originally occupied by the deleted
text. When text is inserted at a mark, a mark with left
gravity will be moved to the beginning of the newly-inserted
text, and a mark with right gravity will be moved to the
end.
Marks optionally have names; these can be convenient to avoid
passing the object around.
Marks are typically created using the
function.
GLib.ObjectGLib.IWrapperSystem.IDisposableMethodSystem.VoidDisposes the resources associated with the object.ConstructorInternal constructor
Pointer to the C object.
An instance of TextMark, wrapping the C object.This is an internal constructor, and should not be used by user code.ConstructorTo be addedTo be added: an object of type 'Gtk.TextMark'To be addedPropertySystem.UInt32The GLib Type for Gtk.TextMarkThe GLib Type for the Gtk.TextMark class.PropertySystem.StringThe name of the mark
Returns the name of the mark and if
it's an anonymous mark
PropertySystem.BooleanWhether of not the mark has been removedReturns if the mark has been removed from its buffer.
Returns if the mark has been
removed from its buffer with . Marks
can't be used once they are deleted.
PropertySystem.BooleanWhether or not the mark has left gravity if the mark has left gravity,
otherwise.
"left" and "right" here refer to logical direction (left is
the toward the start of the buffer); in some languages such
as Hebrew the logically-leftmost text is not actually on the
left when displayed.
PropertySystem.BooleanThe visibility of the mark
The visibility of the mark
if the mark is visible (i.e. a cursor is displayed for it)
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.
PropertyGtk.TextBuffer
Gets the buffer where this mark is located
The buffer where this mark is applied is returned if the mark has been deleted.
ConstructorInternal constructor
GLib type for the type
Creates a new instance of TextMark, using the GLib-provided typeThis is a constructor used by derivative types of that would have their own GLib type assigned to it. This is not typically used by C# code.