| GNOME Video Arcade Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Properties | Signals | ||||
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);
GObject +----GInitiallyUnowned +----GtkCellRenderer +----GtkCellRendererPixbuf +----GvaCellRendererPixbuf
This is a clickable GtkCellRendererPixbuf subclass. It implements the
activate method to emit a "clicked" signal when
the cell is activated.
typedef struct _GvaCellRendererPixbuf GvaCellRendererPixbuf;
Contains only private data that should be read and manipulated using the functions below.
GtkCellRenderer * gva_cell_renderer_pixbuf_new (void);
Creates a new GvaCellRendererPixbuf object.
Returns : |
a new GvaCellRendererPixbuf |
gboolean gva_cell_renderer_pixbuf_get_active (GvaCellRendererPixbuf *cell);
Returns whether cell should be drawn as active.
|
a GvaCellRendererPixbuf |
Returns : |
whether to draw the pixbuf as active |
void gva_cell_renderer_pixbuf_set_active (GvaCellRendererPixbuf *cell,gboolean active);
Sets whether cell should be drawn as active.
|
a GvaCellRendererPixbuf |
|
whether to draw the pixbuf as active |
"active" property"active" gboolean : Read / Write
Whether to draw the pixbuf as active.
Default value: FALSE
"clicked" signalvoid user_function (GvaCellRendererPixbuf *renderer, GtkTreePath *tree_path, gpointer user_data) : Run Last
The ::clicked signal is emitted when the cell is activated.
|
the GvaCellRendererPixbuf that received the signal |
|
the GtkTreePath to the row containing the activated pixbuf |
|
user data set when the signal handler was connected. |