summaryrefslogtreecommitdiff
path: root/gtk/gtkcellrenderer.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2004-07-20 16:06:02 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2004-07-20 16:06:02 +0000
commit9aeba99da095f26ba535e4b2fb0797943309a851 (patch)
tree92de8f295b02b80ca9bfe4df6a2f8ee57c4adffc /gtk/gtkcellrenderer.h
parent1093e2c646cc0c17101eb7fb500875e0ae03c127 (diff)
downloadgtk+-9aeba99da095f26ba535e4b2fb0797943309a851.tar.gz
Allow custom initialization of cell editables. (#147221)
2004-07-20 Matthias Clasen <mclasen@redhat.com> Allow custom initialization of cell editables. (#147221) * gtk/gtkcellrenderer.h (struct _GtkCellRendererClass): * gtk/gtkcellrenderer.c (gtk_cell_renderer_class_init): Add a ::editing-started signal as a hook for setting up the GtkCellEditable. (gtk_cell_renderer_start_editing): ...and emit it here.
Diffstat (limited to 'gtk/gtkcellrenderer.h')
-rw-r--r--gtk/gtkcellrenderer.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk/gtkcellrenderer.h b/gtk/gtkcellrenderer.h
index d6cab83c45..01e882419a 100644
--- a/gtk/gtkcellrenderer.h
+++ b/gtk/gtkcellrenderer.h
@@ -110,11 +110,13 @@ struct _GtkCellRendererClass
/* Signals */
void (* editing_canceled) (GtkCellRenderer *cell);
+ void (* editing_started) (GtkCellRenderer *cell,
+ GtkCellEditable *editable,
+ const gchar *path);
/* Padding for future expansion */
void (*_gtk_reserved1) (void);
void (*_gtk_reserved2) (void);
- void (*_gtk_reserved3) (void);
};
GType gtk_cell_renderer_get_type (void) G_GNUC_CONST;