Top | ![]() |
![]() |
![]() |
![]() |
GObject ╰── GInitiallyUnowned ╰── GtkWidget ╰── GtkSourceGutterRenderer ╰── GtkSourceGutterRendererPixbuf
GtkSourceGutterRendererPixbuf implements GtkAccessible, GtkBuildable and GtkConstraintTarget.
A GtkSourceGutterRendererPixbuf can be used to render an image in a cell of GtkSourceGutter.
GtkSourceGutterRenderer *
gtk_source_gutter_renderer_pixbuf_new (void
);
Create a new GtkSourceGutterRendererPixbuf.
void gtk_source_gutter_renderer_pixbuf_set_pixbuf (GtkSourceGutterRendererPixbuf *renderer
,GdkPixbuf *pixbuf
);
GdkPixbuf *
gtk_source_gutter_renderer_pixbuf_get_pixbuf
(GtkSourceGutterRendererPixbuf *renderer
);
Get the pixbuf of the renderer.
void gtk_source_gutter_renderer_pixbuf_set_gicon (GtkSourceGutterRendererPixbuf *renderer
,GIcon *icon
);
GIcon *
gtk_source_gutter_renderer_pixbuf_get_gicon
(GtkSourceGutterRendererPixbuf *renderer
);
Get the gicon of the renderer
void gtk_source_gutter_renderer_pixbuf_set_icon_name (GtkSourceGutterRendererPixbuf *renderer
,const gchar *icon_name
);
const gchar *
gtk_source_gutter_renderer_pixbuf_get_icon_name
(GtkSourceGutterRendererPixbuf *renderer
);
GdkPaintable *
gtk_source_gutter_renderer_pixbuf_get_paintable
(GtkSourceGutterRendererPixbuf *renderer
);
Gets a GdkPaintable that was set with
gtk_source_gutter_renderer_pixbuf_set_paintable()
Since: 5.0
void gtk_source_gutter_renderer_pixbuf_set_paintable (GtkSourceGutterRendererPixbuf *renderer
,GdkPaintable *paintable
);
void gtk_source_gutter_renderer_pixbuf_overlay_paintable (GtkSourceGutterRendererPixbuf *renderer
,GdkPaintable *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.
Since: 5.0
“gicon”
property “gicon” GIcon *
The gicon.
Owner: GtkSourceGutterRendererPixbuf
Flags: Read / Write
“icon-name”
property “icon-name” char *
The icon name.
Owner: GtkSourceGutterRendererPixbuf
Flags: Read / Write
Default value: NULL
“paintable”
property “paintable” GdkPaintable *
The paintable.
Owner: GtkSourceGutterRendererPixbuf
Flags: Read / Write