PHP-GTK
Sunday, October 26, 2014 
download | documentation | applications | faq | changelog | resources 


search for in the  


previousGtkTextIter::toggles_tag
GtkTextMark::get_buffernext

Last updated: Sun, 12 May 2013
view this page in English

GtkTextMark

A position in a GtkTextBuffer which persists across buffer modifications.

Object Hierarchy

Direct Subclasses

Description

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.

Methods

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


User Contributed Notes
gtk.gtktextmark.php
add a note about notes
There are no user contributed notes for this page.


previousGtkTextIter::toggles_tag
GtkTextMark::get_buffernext

Last updated: Sun, 12 May 2013
view this page in English


credits 

PHP  Copyright © 2001-2014 The PHP Group
 All rights reserved.
Last updated: Sun May 12 20:51:00 2013 CEST