GtkSourceView 3 Reference Manual: GtkSourceGutterRendererPixbuf

## GtkSourceGutterRendererPixbuf GtkSourceGutterRendererPixbuf |

## Synopsis

    #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);

## Object Hierarchy

      GObject
       +----GInitiallyUnowned
             +----GtkSourceGutterRenderer
                   +----GtkSourceGutterRendererPixbuf

## Properties

      "gicon"                    GIcon*                : Read / Write
      "icon-name"                gchar*                : Read / Write
      "pixbuf"                   GdkPixbuf*            : Read / Write
      "stock-id"                 gchar*                : Read / Write

## Description

## Details

### GtkSourceGutterRendererPixbuf

    typedef struct _GtkSourceGutterRendererPixbuf GtkSourceGutterRendererPixbuf;

### gtk_source_gutter_renderer_pixbuf_new ()

    GtkSourceGutterRenderer * gtk_source_gutter_renderer_pixbuf_new
                                                            (void);

Create a new GtkSourceGutterRendererPixbuf.

Returns : | A GtkSourceGutterRenderer. [transfer full]

### gtk_source_gutter_renderer_pixbuf_set_pixbuf ()

    void                gtk_source_gutter_renderer_pixbuf_set_pixbuf
                                                            (GtkSourceGutterRendererPixbuf *renderer,
                                                             GdkPixbuf *pixbuf);

`renderer` : | a GtkSourceGutterRendererPixbuf
`pixbuf` : | the pixbuf. [allow-none]

### gtk_source_gutter_renderer_pixbuf_get_pixbuf ()

    GdkPixbuf *         gtk_source_gutter_renderer_pixbuf_get_pixbuf
                                                            (GtkSourceGutterRendererPixbuf *renderer);

Get the pixbuf of the renderer.

`renderer` : | a GtkSourceGutterRendererPixbuf
Returns : | a GdkPixbuf. [transfer none]

### gtk_source_gutter_renderer_pixbuf_set_stock_id ()

    void                gtk_source_gutter_renderer_pixbuf_set_stock_id
                                                            (GtkSourceGutterRendererPixbuf *renderer,
                                                             const gchar *stock_id);

### 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.

`renderer` : | a GtkSourceGutterRendererPixbuf
`stock_id` : | the stock id. [allow-none]

### gtk_source_gutter_renderer_pixbuf_get_stock_id ()

    const gchar *       gtk_source_gutter_renderer_pixbuf_get_stock_id
                                                            (GtkSourceGutterRendererPixbuf *renderer);

### 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.

`renderer` : | a GtkSourceGutterRendererPixbuf
Returns : | the stock id.

### gtk_source_gutter_renderer_pixbuf_set_gicon ()

    void                gtk_source_gutter_renderer_pixbuf_set_gicon
                                                            (GtkSourceGutterRendererPixbuf *renderer,
                                                             GIcon *icon);

`renderer` : | a GtkSourceGutterRendererPixbuf
`icon` : | the icon. [allow-none]

### gtk_source_gutter_renderer_pixbuf_get_gicon ()

    GIcon *             gtk_source_gutter_renderer_pixbuf_get_gicon
                                                            (GtkSourceGutterRendererPixbuf *renderer);

Get the gicon of the renderer

`renderer` : | a GtkSourceGutterRendererPixbuf
Returns : | a GIcon. [transfer none]

### gtk_source_gutter_renderer_pixbuf_set_icon_name ()

    void                gtk_source_gutter_renderer_pixbuf_set_icon_name
                                                            (GtkSourceGutterRendererPixbuf *renderer,
                                                             const gchar *icon_name);

`renderer` : | a GtkSourceGutterRendererPixbuf
`icon_name` : | the icon name. [allow-none]

### gtk_source_gutter_renderer_pixbuf_get_icon_name ()

    const gchar *       gtk_source_gutter_renderer_pixbuf_get_icon_name
                                                            (GtkSourceGutterRendererPixbuf *renderer);

## Property Details

### The `"gicon"` property

      "gicon"                    GIcon*                : Read / Write

The gicon.

### The `"icon-name"` property

      "icon-name"                gchar*                : Read / Write

The icon name.

Default value: NULL

### The `"pixbuf"` property

      "pixbuf"                   GdkPixbuf*            : Read / Write

The pixbuf.

### The `"stock-id"` property

      "stock-id"                 gchar*                : Read / Write

### Warning

`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