Class

GtkSourceGutterRendererPixbuf

Description

class GtkSource.GutterRendererPixbuf : GtkSource.GutterRenderer {
  parent_instance: GtkSourceGutterRenderer
}

Renders a pixbuf in the gutter.

A GtkSourceGutterRendererPixbuf can be used to render an image in a cell of GtkSourceGutter.

Ancestors

Implements

  • GtkAccessible
  • GtkBuildable
  • GtkConstraintTarget

Constructors

gtk_source_gutter_renderer_pixbuf_new

Create a new GtkSourceGutterRendererPixbuf.

Instance methods

gtk_source_gutter_renderer_pixbuf_get_gicon

Get the gicon of the renderer.

gtk_source_gutter_renderer_pixbuf_get_paintable

Gets a GdkPaintable that was set with gtk_source_gutter_renderer_pixbuf_set_paintable()

gtk_source_gutter_renderer_pixbuf_get_pixbuf

Get the pixbuf of the renderer.

gtk_source_gutter_renderer_pixbuf_overlay_paintable

Allows overlaying a paintable on top of any other image that has been set for the pixbuf. This will be applied when the widget is next snapshot.

Methods inherited from GtkSourceGutterRenderer (15)
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_align_cell

Locates where to render content that is width x height based on the renderers alignment and padding.

gtk_source_gutter_renderer_get_alignment_mode

Get the alignment mode.

gtk_source_gutter_renderer_get_buffer

Gets the GtkSourceBuffer for which the gutter renderer is drawing.

gtk_source_gutter_renderer_get_view

Get the view associated to the gutter renderer.

gtk_source_gutter_renderer_get_xalign

Gets the xalign property.

gtk_source_gutter_renderer_get_xpad

Gets the xpad property.

gtk_source_gutter_renderer_get_yalign

Gets the yalign property.

gtk_source_gutter_renderer_get_ypad

Gets the ypad property.

gtk_source_gutter_renderer_query_activatable

Get whether the renderer is activatable at the location provided. This is called from GtkSourceGutter to determine whether a renderer is activatable using the mouse pointer.

gtk_source_gutter_renderer_set_alignment_mode

Set the alignment mode. The alignment mode describes the manner in which the renderer is aligned (see GtkSourceGutterRenderer:xalign and GtkSourceGutterRenderer:yalign).

gtk_source_gutter_renderer_set_xalign

Adjusts the xalign property.

gtk_source_gutter_renderer_set_xpad

Adjusts the xpad property.

gtk_source_gutter_renderer_set_yalign

Adjusts the yalign property.

gtk_source_gutter_renderer_set_ypad

Adjusts the ypad property.

Properties

GtkSource.GutterRendererPixbuf:gicon
No description available.
GtkSource.GutterRendererPixbuf:icon-name
No description available.
GtkSource.GutterRendererPixbuf:paintable
No description available.
GtkSource.GutterRendererPixbuf:pixbuf
No description available.
Properties inherited from GtkSourceGutterRenderer (7)
GtkSource.GutterRenderer:alignment-mode

The alignment mode of the renderer.

GtkSource.GutterRenderer:lines

Contains information about the lines to be rendered.

GtkSource.GutterRenderer:view

The view on which the renderer is placed.

GtkSource.GutterRenderer:xalign

The horizontal alignment of the renderer.

GtkSource.GutterRenderer:xpad

The left and right padding of the renderer.

GtkSource.GutterRenderer:yalign

The vertical alignment of the renderer.

GtkSource.GutterRenderer:ypad

The top and bottom padding of the renderer.

Class structure

struct GtkSourceGutterRendererPixbufClass {
  GtkSourceGutterRendererClass parent_class;
  
}
Class members
parent_class
GtkSourceGutterRendererClass
  No description available.