diff options
author | Tristan Van Berkom <tristan.van.berkom@gmail.com> | 2010-11-11 18:13:54 +0900 |
---|---|---|
committer | Tristan Van Berkom <tristan.van.berkom@gmail.com> | 2010-11-11 18:13:54 +0900 |
commit | 33db66e728357752c8d0ee90b324a5bfab469c72 (patch) | |
tree | 8355dc59dbede9cb52a97cf6fd1fc6849308e1ca /gtk/gtkcellarea.h | |
parent | f330b40521cf1f5b2b33b33bf7c5df0f59355838 (diff) | |
download | gtk+-33db66e728357752c8d0ee90b324a5bfab469c72.tar.gz |
Added event handling to GtkCellAreaBox
Now GtkCellAreaBox handles the click event to activate renderers
and checks if the area is in a sibling of a focus renderer, possibly
activating the proper focus sibling renderer.
Also GtkCellArea gains a "focus-changed" signal to allow it to
change the currently focused row according to the button events.
Diffstat (limited to 'gtk/gtkcellarea.h')
-rw-r--r-- | gtk/gtkcellarea.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/gtkcellarea.h b/gtk/gtkcellarea.h index c1203541e5..685d695eca 100644 --- a/gtk/gtkcellarea.h +++ b/gtk/gtkcellarea.h @@ -302,7 +302,8 @@ gboolean gtk_cell_area_is_focus_sibling (GtkCellArea GtkCellRenderer *sibling); G_CONST_RETURN GList *gtk_cell_area_get_focus_siblings (GtkCellArea *area, GtkCellRenderer *renderer); - +GtkCellRenderer *gtk_cell_area_get_focus_from_sibling (GtkCellArea *area, + GtkCellRenderer *renderer); /* Cell Activation/Editing */ void gtk_cell_area_set_edited_cell (GtkCellArea *area, |