Back to Seed Clases

Gtk


Classes

Interfaces

Structs

Unions

Enums

GObject.Object
parent-child marker Gtk.TextMark

Class Gtk.TextMark

Import line: Gtk = imports.gi.Gtk;
GIR File: Gtk-2.0.gir
C documentation: GtkTextMark
Class : TextMark
Extends: GObject.Object
  Show / Hide Inherited methods, properties and signals
Properties
Properties Defined By
Methods / Constructors
Method / Constructor Defined By
Events
None
Used by These Methods / Signals / Properties
Class / Namespace Method / Signal / Properties
Gtk.TextBuffer
Signal
mark_deleted (TextBuffer self, TextMark mark) : none
The ::mark-deleted signal is emitted as notification after a GtkTextMark is deleted.
Gtk.TextBuffer
Signal
mark_set (TextBuffer self, TextIter location, TextMark mark) : none
The ::mark-set signal is emitted as notification after a GtkTextMark is set.
Gtk.TextBuffer
Method
add_mark (TextMark mark, TextIter where) : none
Adds the mark at position where.
Gtk.TextBuffer
Method
create_mark (String mark_name, TextIter where, Boolean left_gravity) : Gtk.TextMark
Creates a mark at position where.
Gtk.TextBuffer
Method
move_mark (TextMark mark, TextIter where) : none
Moves mark to the new location where.
Gtk.TextBuffer
Method
delete_mark (TextMark mark) : none
Deletes mark, so that it's no longer located anywhere in the buffer.
Gtk.TextBuffer
Method
get_mark (String name) : Gtk.TextMark
Returns the mark named name in buffer buffer, or NULL if no such mark exists in the buffer.
Gtk.TextBuffer
Method
get_insert () : Gtk.TextMark
Returns the mark that represents the cursor (insertion point).
Gtk.TextBuffer
Method
get_selection_bound () : Gtk.TextMark
Returns the mark that represents the selection bound.
Gtk.TextBuffer
Method
get_iter_at_mark (TextIter iter, TextMark mark) : none
Initializes iter with the current position of mark.
Gtk.TextView
Method
scroll_to_mark (TextMark mark, Number within_margin, Boolean use_align, Number xalign, Number yalign) : none
Scrolls text_view so that mark is on the screen in the position indicated by xalign and yalign.
Gtk.TextView
Method
scroll_mark_onscreen (TextMark mark) : none
Scrolls text_view the minimum distance such that mark is contained within the visible area of the widget.
Gtk.TextView
Method
move_mark_onscreen (TextMark mark) : Boolean
Moves a mark within the buffer so that it's located within the currently-visible text area.
GtkSource.Buffer
Signal
source_mark_updated (Buffer self, TextMark object) : none
Documentation generated by Introspection Doc Generator Loosely Based on JsDoc Toolkit on Tue Jun 22 2010 16:34:31 GMT+0800 (HKT)