GvaCellRendererPixbuf

GvaCellRendererPixbuf — A clickable GtkCellRendererPixbuf

Synopsis

struct              GvaCellRendererPixbuf;
GtkCellRenderer *   gva_cell_renderer_pixbuf_new        (void);
gboolean            gva_cell_renderer_pixbuf_get_active (GvaCellRendererPixbuf *cell);
void                gva_cell_renderer_pixbuf_set_active (GvaCellRendererPixbuf *cell,
                                                         gboolean active);

Description

This is a clickable GtkCellRendererPixbuf subclass. It implements the activate method to emit a "clicked" signal when the cell is activated.

Details

struct GvaCellRendererPixbuf

struct GvaCellRendererPixbuf {
        GtkCellRendererPixbuf parent;
	GvaCellRendererPixbufPrivate *priv;
};

Contains only private data that should be read and manipulated using the functions below.


gva_cell_renderer_pixbuf_new ()

GtkCellRenderer *   gva_cell_renderer_pixbuf_new        (void);

Creates a new GvaCellRendererPixbuf object.

Returns :

a new GvaCellRendererPixbuf

gva_cell_renderer_pixbuf_get_active ()

gboolean            gva_cell_renderer_pixbuf_get_active (GvaCellRendererPixbuf *cell);

Returns whether cell should be drawn as active.

cell :

a GvaCellRendererPixbuf

Returns :

whether to draw the pixbuf as active

gva_cell_renderer_pixbuf_set_active ()

void                gva_cell_renderer_pixbuf_set_active (GvaCellRendererPixbuf *cell,
                                                         gboolean active);

Sets whether cell should be drawn as active.

cell :

a GvaCellRendererPixbuf

active :

whether to draw the pixbuf as active