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-3.0.gir
C documentation: GtkTextMark
Class : TextMark
Extends: GObject.Object
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, gboolean left_gravity) : Gtk.TextMark
Creates a mark at position 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_insert () : Gtk.TextMark
Returns the mark that represents the cursor (insertion point).
Gtk.TextBuffer
Method
get_iter_at_mark (TextIter iter, TextMark mark) : Gtk.TextIter
Initializes iter with the current position of mark.
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_selection_bound () : Gtk.TextMark
Returns the mark that represents the selection bound.
Gtk.TextBuffer
Method
move_mark (TextMark mark, TextIter where) : none
Moves mark to the new location where.
Gtk.TextView
Method
move_mark_onscreen (TextMark mark) : gboolean
Moves a mark within the buffer so that it's
located within the currently-visible text area.
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
scroll_to_mark (TextMark mark, gdouble within_margin, gboolean use_align, gdouble xalign, gdouble yalign) : none
Scrolls text_view so that mark is on the screen in the position
indicated by xalign and yalign.
GtkSource.Buffer
Signal
source_mark_updated (Buffer self, TextMark object) : none
Documentation generated by Introspection Doc Generator Loosely Based on JsDoc Toolkit on Sat Apr 16 2011 17:14:04 GMT+0800 (HKT)