GtkSourceGutterRendererPixbuf: GtkSourceView 3 Reference Manual

## GtkSourceGutterRendererPixbuf GtkSourceGutterRendererPixbuf — Renders a pixbuf in the gutter |

## Functions

GtkSourceGutterRenderer * | gtk_source_gutter_renderer_pixbuf_new ()
void | gtk_source_gutter_renderer_pixbuf_set_pixbuf ()
GdkPixbuf * | gtk_source_gutter_renderer_pixbuf_get_pixbuf ()
void | gtk_source_gutter_renderer_pixbuf_set_stock_id ()
const gchar * | gtk_source_gutter_renderer_pixbuf_get_stock_id ()
void | gtk_source_gutter_renderer_pixbuf_set_gicon ()
GIcon * | gtk_source_gutter_renderer_pixbuf_get_gicon ()
void | gtk_source_gutter_renderer_pixbuf_set_icon_name ()
const gchar * | gtk_source_gutter_renderer_pixbuf_get_icon_name ()

## Types and Values

| GtkSourceGutterRendererPixbuf

## Includes

    #include <gtksourceview/gtksource.h>

## Description

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

## Functions

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

#### Parameters

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.

#### Parameters

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

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

#### Parameters

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

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

#### Parameters

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

#### Parameters

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

#### Parameters

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

#### Parameters

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

## Types and Values

### GtkSourceGutterRendererPixbuf

    typedef struct {
    } GtkSourceGutterRendererPixbuf;

## See Also

GtkSourceGutterRenderer, GtkSourceGutter