summaryrefslogtreecommitdiff
path: root/gtk/gtkcellarea.h
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.van.berkom@gmail.com>2010-12-12 17:15:46 +0900
committerTristan Van Berkom <tristan.van.berkom@gmail.com>2010-12-12 17:15:46 +0900
commit2f4e45107522bfbf55dd3f87ff36cd50c969f5a6 (patch)
treed81cbaf88e135028fcae40246838a22f13c249f5 /gtk/gtkcellarea.h
parent46c49ee260b45da13282df6711c56b74a74d0d3d (diff)
downloadgtk+-2f4e45107522bfbf55dd3f87ff36cd50c969f5a6.tar.gz
Added "edit_only" argument to gtk_cell_area_activate()
This argument allows the caller to specify that only an editable cell should start editing but an activatable cell should not toggle it's state, this is important for public apis like gtk_tree_view_set_cursor_on_cell() which are only intended to programatically bring attention to the editing of a specific row or cell but not actually change any data. GtkTreeView & CellAreaScaffold updated for the last minute api change.
Diffstat (limited to 'gtk/gtkcellarea.h')
-rw-r--r--gtk/gtkcellarea.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/gtk/gtkcellarea.h b/gtk/gtkcellarea.h
index 15d2856711..8c54b053d2 100644
--- a/gtk/gtkcellarea.h
+++ b/gtk/gtkcellarea.h
@@ -246,7 +246,8 @@ struct _GtkCellAreaClass
GtkCellAreaContext *context,
GtkWidget *widget,
const GdkRectangle *cell_area,
- GtkCellRendererState flags);
+ GtkCellRendererState flags,
+ gboolean edit_only);
/*< private >*/
@@ -398,7 +399,8 @@ gboolean gtk_cell_area_activate (GtkCellArea
GtkCellAreaContext *context,
GtkWidget *widget,
const GdkRectangle *cell_area,
- GtkCellRendererState flags);
+ GtkCellRendererState flags,
+ gboolean edit_only);
gboolean gtk_cell_area_focus (GtkCellArea *area,
GtkDirectionType direction);
void gtk_cell_area_set_focus_cell (GtkCellArea *area,