Sets our main struct and passes it to the parent class
Create a new GtkSourceGutterRendererPixbuf.
Get the gicon of the renderer
Get the pixbuf of the renderer.
Get the main Gtk struct
Warning gtk_source_gutter_renderer_pixbuf_get_stock_id has been deprecated since version 3.10 and should not be used in newly-written code. Don't use this function.
the main Gtk struct as a void*
Warning gtk_source_gutter_renderer_pixbuf_set_stock_id has been deprecated since version 3.10 and should not be used in newly-written code. Don't use this function.
the main Gtk struct
the main Gtk struct
Get the main Gtk struct
the main Gtk struct as a void*
The ::activate signal is emitted when the renderer is activated.
The ::query-activatable signal is emitted when the renderer can possibly be activated.
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.
The ::query-tooltip signal is emitted when the renderer can show a tooltip.
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.
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.
Main renderering method. Implementations should implement this method to draw onto the cairo context. The background_area indicates total area of the cell (without padding or margin) to be drawn. The cell_area indicates the area where content can be drawn (text, images, etc). The state argument indicates the current state of the renderer and should be taken into account to properly draw the different possible states (cursor, prelit, selected) if appropriate.
Called when drawing a region of lines has ended.
Get the size of the renderer.
Sets the size of the renderer. A value of -1 specifies that the size is to be determined dynamically.
Set whether the gutter renderer is visible.
Get whether the gutter renderer is visible.
Get the x-padding and y-padding of the gutter renderer.
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).
Get the x-alignment and y-alignment of the gutter renderer.
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).
Set the alignment mode. The alignment mode describes the manner in which the renderer is aligned (see :xalign and :yalign).
Get the GtkTextWindowType associated with the gutter renderer.
Get the view associated to the gutter renderer
Get the alignment mode. The alignment mode describes the manner in which the renderer is aligned (see :xalign and :yalign).
Get the background color of the renderer.
Set the background color of the renderer. If color is set to NULL, the renderer will not have a background color.
Emits the ::activate signal of the renderer. This is called from GtkSourceGutter and should never have to be called manually.
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.
Emits the ::queue-draw signal of the renderer. Call this from an implementation to inform that the renderer has changed such that it needs to redraw.
Emits the ::query-tooltip signal. This function is called from GtkSourceGutter. Implementations can override the default signal handler or can connect to the signal externally.
Emit the ::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 ::query-data signal.