Forum und email


A position in a GtkTextBuffer which persists across buffer modifications.

Йерархия на обектите

Директни подкласове


A GtkTextMark is used to identify a location within a GtkTextBuffer. Unlike a GtkTextIter, a GtkTextMark will persist across buffer modifications.

A GtkTextMark cannot be instantiated directly with the new operator. Instead it must be created using create_mark() .

By default, every buffer automatically creates two GtkTextMarks named insert and selection_boud. They point to the insertion point (cursor) and the selection boundry which is not the insertion point, respectively. Moving these two marks to two different places in the buffer will select the range of text between them. Both marks have right gravity.


  Returns the GtkTextBuffer that the mark belongs to.
  Returns whether or not the mark has been deleted from its GtkTextBuffer.
  Returns whether or not the mark has left gravity.
  Returns the name of the mark, or null if the mark is anonymous.
  Returns whether or not a cursor is shown for the mark.
  Sets whether or not a cursor should be shown for the mark.