Class
IdeLineChangeGutterRenderer
Instance methods
Methods inherited from GtkSourceGutterRenderer (22)
gtk_source_gutter_renderer_activate
Emits the GtkSourceGutterRenderer::activate signal of the renderer. This is
called from GtkSourceGutter and should never have to be called manually.
gtk_source_gutter_renderer_begin
Called when drawing a region begins. The region to be drawn is indicated
by start and end. The purpose is to allow the implementation to precompute
some state before the draw method is called for each cell.
gtk_source_gutter_renderer_draw
Main renderering method. Implementations should implement this method to draw
onto the cairo context. The background_area indicates the total area of the
cell to be drawn. The cell_area indicates the area where content can be
drawn (text, images, etc).
gtk_source_gutter_renderer_end
Called when drawing a region of lines has ended.
gtk_source_gutter_renderer_get_alignment
Get the x-alignment and y-alignment of the gutter renderer.
gtk_source_gutter_renderer_get_alignment_mode
Get the alignment mode. The alignment mode describes the manner in which the renderer is aligned (see :xalign and :yalign).
gtk_source_gutter_renderer_get_background
Get the background color of the renderer.
gtk_source_gutter_renderer_get_padding
Get the x-padding and y-padding of the gutter renderer.
gtk_source_gutter_renderer_get_size
Get the size of the renderer.
gtk_source_gutter_renderer_get_view
Get the view associated to the gutter renderer.
gtk_source_gutter_renderer_get_visible
Get whether the gutter renderer is visible.
gtk_source_gutter_renderer_get_window_type
Get the GtkTextWindowType associated with the gutter renderer.
gtk_source_gutter_renderer_query_activatable
Get whether the renderer is activatable at the location in event. This is
called from GtkSourceGutter to determine whether a renderer is activatable
using the mouse pointer.
gtk_source_gutter_renderer_query_data
Emit the GtkSourceGutterRenderer::query-data signal. This function is called
to query for data just before rendering a cell. This is called from the
GtkSourceGutter. Implementations can override the default signal handler or
can connect a signal handler externally to the
GtkSourceGutterRenderer::query-data signal.
gtk_source_gutter_renderer_query_tooltip
Emits the GtkSourceGutterRenderer::query-tooltip signal. This function is
called from GtkSourceGutter. Implementations can override the default signal
handler or can connect to the signal externally.
gtk_source_gutter_renderer_queue_draw
Emits the GtkSourceGutterRenderer::queue-draw signal of the renderer. Call
this from an implementation to inform that the renderer has changed such that
it needs to redraw.
gtk_source_gutter_renderer_set_alignment
Set the alignment of the gutter renderer. Both xalign and yalign can be
-1, which means the values will not be changed (this allows changing only
one of the values).
gtk_source_gutter_renderer_set_alignment_mode
Set the alignment mode. The alignment mode describes the manner in which the renderer is aligned (see :xalign and :yalign).
gtk_source_gutter_renderer_set_background
Set the background color of the renderer. If color is set to NULL, the
renderer will not have a background color.
gtk_source_gutter_renderer_set_padding
Set the padding of the gutter renderer. Both xpad and ypad can be
-1, which means the values will not be changed (this allows changing only
one of the values).
gtk_source_gutter_renderer_set_size
Sets the size of the renderer. A value of -1 specifies that the size is to be determined dynamically.
gtk_source_gutter_renderer_set_visible
Set whether the gutter renderer is visible.
Properties
Properties inherited from GtkSourceGutterRenderer (11)
GtkSource.GutterRenderer:alignment-mode
The alignment mode of the renderer. This can be used to indicate that in the case a cell spans multiple lines (due to text wrapping) the alignment should work on either the full cell, the first line or the last line.
GtkSource.GutterRenderer:background-rgba
GtkSource.GutterRenderer:background-set
GtkSource.GutterRenderer:size
GtkSource.GutterRenderer:view
The view on which the renderer is placed.
GtkSource.GutterRenderer:visible
The visibility of the renderer.
GtkSource.GutterRenderer:window-type
The window type of the view on which the renderer is placed (left, or right).
GtkSource.GutterRenderer:xalign
The horizontal alignment of the renderer. Set to 0 for a left alignment. 1 for a right alignment. And 0.5 for centering the cells. A value lower than 0 doesn’t modify the alignment.
GtkSource.GutterRenderer:xpad
The left and right padding of the renderer.
GtkSource.GutterRenderer:yalign
The vertical alignment of the renderer. Set to 0 for a top alignment. 1 for a bottom alignment. And 0.5 for centering the cells. A value lower than 0 doesn’t modify the alignment.
GtkSource.GutterRenderer:ypad
The top and bottom padding of the renderer.
Signals
Signals inherited from GtkSourceGutterRenderer (5)
GtkSource.GutterRenderer::activate
The ::activate signal is emitted when the renderer is activated.
GtkSource.GutterRenderer::query-activatable
The ::query-activatable signal is emitted when the renderer can possibly be activated.
GtkSource.GutterRenderer::query-data
The ::query-data signal is emitted when the renderer needs to be filled with data just before a cell is drawn. This can be used by general renderer implementations to allow render data to be filled in externally.
GtkSource.GutterRenderer::query-tooltip
The ::query-tooltip signal is emitted when the renderer can show a tooltip.
GtkSource.GutterRenderer::queue-draw
The ::queue-draw signal is emitted when the renderer needs
to be redrawn. Use gtk_source_gutter_renderer_queue_draw()
to emit this signal from an implementation of the
GtkSourceGutterRenderer interface.
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.