GObject.Object
Gtk.TextMark
GtkSource.Mark
Import line: | GtkSource = imports.gi.GtkSource; |
GIR File: | GtkSource-2.0.gir |
C documentation: | GtkSourceMark |
Class : | Mark |
Extends: | Gtk.TextMark |
Show / Hide Inherited methods, properties and signals |
Properties | Defined By | |
---|---|---|
category : String
|
GtkSource.Mark | |
left_gravity : Boolean
|
Gtk.TextMark | |
name : String
|
Gtk.TextMark | |
parent_instance : Gtk.TextMark
read only
|
GtkSource.Mark | |
priv : GtkSource.MarkPrivate
read only
|
GtkSource.Mark | |
segment : void*
read only
|
Gtk.TextMark |
Method / Constructor | Defined By | |
---|---|---|
new GtkSource.Mark
(Object properties)
Create a new GtkSource.Mark
Create a new GtkSource.Mark
|
||
Create a new GtkSource.Mark
Create a new GtkSource.Mark
|
||
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_category
()
:
String
Returns the mark category.
Returns the mark category.
|
GtkSource.Mark | |
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 | |
next
(String category)
:
GtkSource.Mark
Returns the next GtkSourceMark in the buffer or NULL if the mark was not added to a buffer.
Returns the next GtkSourceMark in the buffer or NULL if the mark was not added to a buffer. If there is no next mark, NULL will be returned. If category is NULL, looks for marks of any category.
|
GtkSource.Mark | |
prev
(String category)
:
GtkSource.Mark
Returns the previous GtkSourceMark in the buffer or NULL if the mark was not added to a buffer.
Returns the previous GtkSourceMark in the buffer or NULL if the mark was not added to a buffer. If there is no previous mark, NULL is returned. If category is NULL, looks for marks of any category
|
GtkSource.Mark | |
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 |
---|---|
GtkSource.Buffer
Method |
Creates a source mark in the buffer of category category.
|