TextMark Class Reference

List of all members.

Detailed Description

Text Mark.


Public Member Functions

 this (GtkTextMark *gtkTextMark)
 Creates a text mark from a GtkTextIter.
void setVisible (bit setting)
 Sets the visibility of mark.
bit getVisible ()
 Returns true if the mark is visible.
String getName ()
 Returns the mark name; returns null for anonymous marks.
bit getDeleted ()
 Returns true if the mark has been removed from its buffer with gtk_text_buffer_delete_mark().
TextBuffer getBuffer ()
 Gets the buffer this mark is located inside, or null if the mark is deleted.
bit getLeftGravity ()
 Determines whether the mark has left gravity.

Static Public Member Functions

GType getType ()
 Gets this class type.


Member Function Documentation

TextBuffer TextMark.getBuffer  ) 
 

Gets the buffer this mark is located inside, or null if the mark is deleted.

Returns:
the buffer this mark is located inside, or null if the mark is deleted.

bit TextMark.getDeleted  ) 
 

Returns true if the mark has been removed from its buffer with gtk_text_buffer_delete_mark().

Marks can't be used once deleted.

Returns:
true if the mark has been removed from its buffer with gtk_text_buffer_delete_mark()

bit TextMark.getLeftGravity  ) 
 

Determines whether the mark has left gravity.

Returns:
true if the mark has left gravity, false otherwise

String TextMark.getName  ) 
 

Returns the mark name; returns null for anonymous marks.

Returns:
the mark name or null

GType TextMark.getType  )  [static]
 

Gets this class type.

Returns:
this class type

bit TextMark.getVisible  ) 
 

Returns true if the mark is visible.

Returns:
true if the mark is visible (i.e. a cursor is displayed for it)

void TextMark.setVisible bit  setting  ) 
 

Sets 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.

Parameters:
setting of mark

TextMark.this GtkTextMark *  gtkTextMark  ) 
 

Creates a text mark from a GtkTextIter.

Parameters:
gtkTextMark the gtk text mark


SourceForge.net Logo DSource.org Logo digitalmars.com Logo