GObject.Object
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 | Defined By | |
---|---|---|
left_gravity : Boolean
|
Gtk.TextMark | |
name : String
|
Gtk.TextMark | |
parent_instance : GObject.Object
read only
|
Gtk.TextMark | |
segment : void*
read only
|
Gtk.TextMark |
Method / Constructor | Defined By | |
---|---|---|
new Gtk.TextMark
(Object properties)
Create a new Gtk.TextMark
Create a new Gtk.TextMark
|
||
Create a new Gtk.TextMark
Create a new Gtk.TextMark
|
||
get_buffer
()
:
Gtk.TextBuffer
Gets the buffer this mark is located inside, or NULL if the mark is deleted.
Gets the buffer this mark is located inside, or NULL if the mark is deleted.
|
Gtk.TextMark | |
get_deleted
()
:
Boolean
Returns TRUE if the mark has been removed from its buffer with gtk_text_buffer_delete_mark().
Returns TRUE if the mark has been removed from its buffer with gtk_text_buffer_delete_mark(). See gtk_text_buffer_add_mark() for a way to add it to a buffer again.
|
Gtk.TextMark | |
get_left_gravity
()
:
Boolean
Determines whether the mark has left gravity.
Determines whether the mark has left gravity.
|
Gtk.TextMark | |
get_name
()
:
String
Returns the mark name; returns NULL for anonymous marks.
Returns the mark name; returns NULL for anonymous marks.
|
Gtk.TextMark | |
get_visible
()
:
Boolean
Returns TRUE if the mark is visible (i.e.
Returns TRUE if the mark is visible (i.e. a cursor is displayed for it).
|
Gtk.TextMark | |
set_visible
(Boolean setting)
:
none
Sets the visibility of mark; the insertion point is normally visible, i.e.
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.
|
Gtk.TextMark |
None |
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 |
The ::mark-set signal is emitted as notification after a GtkTextMark is set.
|
Gtk.TextBuffer
Method |
Adds the mark at position where.
|
Gtk.TextBuffer
Method |
Creates a mark at position where.
|
Gtk.TextBuffer
Method |
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 |
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 |
Moves a mark within the buffer so that it's located within the currently-visible text area.
|
GtkSource.Buffer
Signal |
|