GtkSource.GutterLines
Description: Reference for GtkSource.GutterLines

### Class

# GtkSourceGutterLines

#### 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.

#### Hierarchy

#### Ancestors

- GObject

#### Instance methods

###### gtk_source_gutter_lines_add_class

Adds the class `name` to `line`.

###### gtk_source_gutter_lines_add_qclass

Adds the class denoted by `qname` to `line`.

###### gtk_source_gutter_lines_get_buffer

Gets the `GtkTextBuffer` that the `GtkSourceGutterLines` represents.

###### gtk_source_gutter_lines_get_first

Gets the line number (starting from 0) for the first line that is user visible.

###### gtk_source_gutter_lines_get_iter_at_line

Gets a `GtkTextIter` for the current buffer at `line`.

###### gtk_source_gutter_lines_get_last

Gets the line number (starting from 0) for the last line that is user visible.

###### gtk_source_gutter_lines_get_line_yrange

Gets the Y range for a line based on `mode`.

###### gtk_source_gutter_lines_get_view

Gets the `GtkTextView` that the `GtkSourceGutterLines` represents.

###### gtk_source_gutter_lines_has_class

Checks to see if `gtk_source_gutter_lines_add_class()` was called with the `name` for `line`.

###### 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`.

###### gtk_source_gutter_lines_is_cursor

Checks to see if `line` contains the insertion cursor.

###### 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.

###### gtk_source_gutter_lines_is_selected

Checks to see if the view had a selection and if that selection overlaps `line` in some way.

###### gtk_source_gutter_lines_remove_class

Removes the class matching `name` from `line`.

###### gtk_source_gutter_lines_remove_qclass

Reverses a call to `gtk_source_gutter_lines_add_qclass()` by removing the `GQuark` matching `qname`.

##### Methods inherited from GObject (43)

Please see GObject for a full list of methods.

#### Signals

##### Signals inherited from GObject (1)

###### GObject.Object::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.

#### Class structure

    struct GtkSourceGutterLinesClass {
      GObjectClass parent_class;

    }

###### Class members

`parent_class` |
    GObjectClass
| No description available.