Class
GtkSourceGutterLines
since: 5
Description [src]
final class GtkSource.GutterLines : GObject.Object
{
/* No available fields */
}
Collected information about visible lines.
The GtkSourceGutterLines
object is used to collect information about
visible lines.
Use this from your GtkSourceGutterRenderer::query-data
to collect the
necessary information on visible lines. Doing so reduces the number of
passes through the text btree allowing GtkSourceView to reach more
frames-per-second while performing kinetic scrolling.
Available since: 5
Instance methods
gtk_source_gutter_lines_get_buffer
Gets the GtkTextBuffer
that the GtkSourceGutterLines
represents.
since: 5
gtk_source_gutter_lines_get_first
Gets the line number (starting from 0) for the first line that is user visible.
since: 5
gtk_source_gutter_lines_get_iter_at_line
Gets a GtkTextIter
for the current buffer at line
.
since: 5
gtk_source_gutter_lines_get_last
Gets the line number (starting from 0) for the last line that is user visible.
since: 5
gtk_source_gutter_lines_get_view
Gets the GtkTextView
that the GtkSourceGutterLines
represents.
since: 5
gtk_source_gutter_lines_has_class
Checks to see if gtk_source_gutter_lines_add_class()
was called with
the name
for line
.
since: 5
gtk_source_gutter_lines_has_qclass
Checks to see if gtk_source_gutter_lines_add_qclass()
was called with
the quark denoted by qname
for line
.
since: 5
gtk_source_gutter_lines_is_prelit
Checks to see if line
is marked as prelit. Generally, this means
the mouse pointer is over the line within the gutter.
since: 5
gtk_source_gutter_lines_is_selected
Checks to see if the view had a selection and if that selection overlaps
line
in some way.
since: 5
gtk_source_gutter_lines_remove_qclass
Reverses a call to gtk_source_gutter_lines_add_qclass()
by removing
the GQuark
matching qname
.
since: 5
Signals
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.
since: 2.0