| Rhythmbox Development Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Signals | ||||
RBCellRendererPixbufRBCellRendererPixbuf — GtkCellRenderer for displaying pixbufs in tree views |
Synopsis
struct RBCellRendererPixbuf;
struct RBCellRendererPixbufClass;
GtkCellRenderer * rb_cell_renderer_pixbuf_new (void);
Object Hierarchy
GObject +----GInitiallyUnowned +----GtkCellRenderer +----GtkCellRendererPixbuf +----RBCellRendererPixbuf
Description
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.
Details
struct RBCellRendererPixbufClass
struct RBCellRendererPixbufClass {
GtkCellRendererPixbufClass parent_class;
void (*pixbuf_clicked) (RBCellRendererPixbuf *renderer, GtkTreePath *path);
};
rb_cell_renderer_pixbuf_new ()
GtkCellRenderer * rb_cell_renderer_pixbuf_new (void);
Creates a new RBCellRendererPixbuf.
Returns : |
the new cell renderer |
Signal Details
The "pixbuf-clicked" signal
void 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. |
