| Rhythmbox Development Reference Manual | ||||
|---|---|---|---|---|
RBCellRendererPixbufRBCellRendererPixbuf — GtkCellRenderer for displaying pixbufs in tree views |
RBCellRendererPixbuf;
RBCellRendererPixbufClass;
GtkCellRenderer* rb_cell_renderer_pixbuf_new (void);
GObject +----GInitiallyUnowned +----GtkObject +----GtkCellRenderer +----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.
typedef struct {
GtkCellRendererClass parent_class;
void (*pixbuf_clicked) (RBCellRendererPixbuf *renderer, GtkTreePath *path);
} RBCellRendererPixbufClass;
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. |