| Rhythmbox Development Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Signals | ||||
struct RBCellRendererPixbuf;
struct RBCellRendererPixbufClass;
GtkCellRenderer * rb_cell_renderer_pixbuf_new (void);
GObject
+----GInitiallyUnowned
+----GtkCellRenderer
+----GtkCellRendererPixbuf
+----RBCellRendererPixbuf
This is similar to GtkCellRendererPixbuf, except that it also emits a signal when the pixbuf is clicked on, and it can only use pixbuf objects.
struct RBCellRendererPixbufClass {
GtkCellRendererPixbufClass parent_class;
void (*pixbuf_clicked) (RBCellRendererPixbuf *renderer, GtkTreePath *path);
};
GtkCellRenderer * rb_cell_renderer_pixbuf_new (void);
Creates a new RBCellRendererPixbuf.
Returns : |
the new cell renderer |
"pixbuf-clicked" signalvoid user_function (RBCellRendererPixbuf *renderer,
gchar *path,
gpointer user_data) : Run First
Emitted when the user clicks on the pixbuf cell.
|
the RBCellRendererPixbuf |
|
the GtkTreePath to the row that was clicked |
|
user data set when the signal handler was connected. |