Mark


Object Hierarchy:

GtkSource.Mark GtkSource.Mark GtkSource.Mark Gtk.TextMark Gtk.TextMark Gtk.TextMark->GtkSource.Mark GLib.Object GLib.Object GLib.Object->Gtk.TextMark

Description:

[ CCode ( type_id = "gtk_source_mark_get_type ()" ) ]
public class Mark : TextMark

Mark object for [class@Buffer].

A `GtkSourceMark` marks a position in the text where you want to display additional info. It is based on [class@Gtk.TextMark] and thus is still valid after the text has changed though its position may change.

`GtkSourceMark`s are organized in categories which you have to set when you create the mark. Each category can have a priority, a pixbuf and other associated attributes. See [method@View.set_mark_attributes]. The pixbuf will be displayed in the margin at the line where the mark residents if the [property@View:show-line-marks] property is set to true. If there are multiple marks in the same line, the pixbufs will be drawn on top of each other. The mark with the highest priority will be drawn on top.


Namespace: GtkSource
Package: gtksourceview-5

Content:

Properties:

Creation methods:

Methods:

Inherited Members:

All known members inherited from class Gtk.TextMark