Top | Description | Object Hierarchy | Properties | ![]() |
![]() |
![]() |
![]() |
#include <gtksourceview/gtksource.h> GtkSourceGutterRendererPixbuf; GtkSourceGutterRenderer * gtk_source_gutter_renderer_pixbuf_new (void
); void gtk_source_gutter_renderer_pixbuf_set_pixbuf (GtkSourceGutterRendererPixbuf *renderer
,GdkPixbuf *pixbuf
); GdkPixbuf * gtk_source_gutter_renderer_pixbuf_get_pixbuf (GtkSourceGutterRendererPixbuf *renderer
); void gtk_source_gutter_renderer_pixbuf_set_stock_id (GtkSourceGutterRendererPixbuf *renderer
,const gchar *stock_id
); const gchar * gtk_source_gutter_renderer_pixbuf_get_stock_id (GtkSourceGutterRendererPixbuf *renderer
); void gtk_source_gutter_renderer_pixbuf_set_gicon (GtkSourceGutterRendererPixbuf *renderer
,GIcon *icon
); GIcon * gtk_source_gutter_renderer_pixbuf_get_gicon (GtkSourceGutterRendererPixbuf *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
);
GObject +----GInitiallyUnowned +----GtkSourceGutterRenderer +----GtkSourceGutterRendererPixbuf
"gicon" GIcon* : Read / Write "icon-name" gchar* : Read / Write "pixbuf" GdkPixbuf* : Read / Write "stock-id" gchar* : Read / Write
typedef struct _GtkSourceGutterRendererPixbuf GtkSourceGutterRendererPixbuf;
GtkSourceGutterRenderer * gtk_source_gutter_renderer_pixbuf_new
(void
);
Create a new GtkSourceGutterRendererPixbuf.
Returns : |
A GtkSourceGutterRenderer. [transfer full] |
void gtk_source_gutter_renderer_pixbuf_set_pixbuf (GtkSourceGutterRendererPixbuf *renderer
,GdkPixbuf *pixbuf
);
|
a GtkSourceGutterRendererPixbuf |
|
the pixbuf. [allow-none] |
GdkPixbuf * gtk_source_gutter_renderer_pixbuf_get_pixbuf
(GtkSourceGutterRendererPixbuf *renderer
);
Get the pixbuf of the renderer.
|
a GtkSourceGutterRendererPixbuf |
Returns : |
a GdkPixbuf. [transfer none] |
void gtk_source_gutter_renderer_pixbuf_set_stock_id (GtkSourceGutterRendererPixbuf *renderer
,const gchar *stock_id
);
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.
|
a GtkSourceGutterRendererPixbuf |
|
the stock id. [allow-none] |
const gchar * gtk_source_gutter_renderer_pixbuf_get_stock_id
(GtkSourceGutterRendererPixbuf *renderer
);
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.
|
a GtkSourceGutterRendererPixbuf |
Returns : |
the stock id. |
void gtk_source_gutter_renderer_pixbuf_set_gicon (GtkSourceGutterRendererPixbuf *renderer
,GIcon *icon
);
|
a GtkSourceGutterRendererPixbuf |
|
the icon. [allow-none] |
GIcon * gtk_source_gutter_renderer_pixbuf_get_gicon
(GtkSourceGutterRendererPixbuf *renderer
);
Get the gicon of the renderer
|
a GtkSourceGutterRendererPixbuf |
Returns : |
a GIcon. [transfer none] |
void gtk_source_gutter_renderer_pixbuf_set_icon_name (GtkSourceGutterRendererPixbuf *renderer
,const gchar *icon_name
);
|
a GtkSourceGutterRendererPixbuf |
|
the icon name. [allow-none] |
const gchar * gtk_source_gutter_renderer_pixbuf_get_icon_name
(GtkSourceGutterRendererPixbuf *renderer
);
"stock-id"
property"stock-id" gchar* : Read / Write
GtkSourceGutterRendererPixbuf:stock-id
has been deprecated since version 3.10 and should not be used in newly-written code. Don't use this property.
The stock id.
Default value: NULL