GimpCellRendererViewable

GimpCellRendererViewable

Synopsis

                    GimpCellRendererViewable;
GtkCellRenderer *   gimp_cell_renderer_viewable_new     (void);
void                gimp_cell_renderer_viewable_clicked (GimpCellRendererViewable *cell,
                                                         const gchar *path,
                                                         GdkModifierType state);
gboolean            gimp_cell_renderer_viewable_pre_clicked
                                                        (GimpCellRendererViewable *cell,
                                                         const gchar *path,
                                                         GdkModifierType state);

Object Hierarchy

  GObject
   +----GInitiallyUnowned
         +----GtkObject
               +----GtkCellRenderer
                     +----GimpCellRendererViewable

Properties

  "renderer"                 GimpViewRenderer*     : Read / Write

Signals

  "clicked"                                        : Run Last
  "pre-clicked"                                    : Run Last

Description

Details

GimpCellRendererViewable

typedef struct _GimpCellRendererViewable GimpCellRendererViewable;


gimp_cell_renderer_viewable_new ()

GtkCellRenderer *   gimp_cell_renderer_viewable_new     (void);


gimp_cell_renderer_viewable_clicked ()

void                gimp_cell_renderer_viewable_clicked (GimpCellRendererViewable *cell,
                                                         const gchar *path,
                                                         GdkModifierType state);


gimp_cell_renderer_viewable_pre_clicked ()

gboolean            gimp_cell_renderer_viewable_pre_clicked
                                                        (GimpCellRendererViewable *cell,
                                                         const gchar *path,
                                                         GdkModifierType state);

Property Details

The "renderer" property

  "renderer"                 GimpViewRenderer*     : Read / Write

Signal Details

The "clicked" signal

void                user_function                      (GimpCellRendererViewable *cell,
                                                        gchar                    *path,
                                                        GdkModifierType           state,
                                                        gpointer                  user_data)      : Run Last

Called late on a viewable cell when it is clicked, typically after selection code has been invoked for example.

user_data :

user data set when the signal handler was connected.

The "pre-clicked" signal

gboolean            user_function                      (GimpCellRendererViewable *cell,
                                                        gchar                    *path,
                                                        GdkModifierType           state,
                                                        gpointer                  user_data)      : Run Last

Called early on a viewable cell when it is clicked, typically before selection code is invoked for example.

user_data :

user data set when the signal handler was connected.

Returns :

TRUE if the signal handled the event and event propagation should stop, for example preventing a selection from happening, FALSE to continue as normal