diff options
author | Matthias Clasen <mclasen@redhat.com> | 2010-05-30 02:15:40 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2010-05-30 02:17:51 -0400 |
commit | c557f7b7c4f6309efdc105073355a405d6136561 (patch) | |
tree | 1d5551618051af3d273c6e11943270a9a40d160f /gtk/gtkiconview.h | |
parent | 6737d91d28a1872aa47640697e9f4199cb97881b (diff) | |
download | gtk+-c557f7b7c4f6309efdc105073355a405d6136561.tar.gz |
Improved icon view keynav
Use ::keynav-failed for arrow navigation in icon views, so that
it is possible to override error handling. Also add API to get the
row/col of an item. With this, it is possible to make arrow keynav
span adjacent icon views, which is desired in the new control-center
shell. testiconview-keynav demonstrates this.
Diffstat (limited to 'gtk/gtkiconview.h')
-rw-r--r-- | gtk/gtkiconview.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/gtkiconview.h b/gtk/gtkiconview.h index 10e17897d8..422b51a385 100644 --- a/gtk/gtkiconview.h +++ b/gtk/gtkiconview.h @@ -154,6 +154,10 @@ void gtk_icon_view_unselect_path (GtkIconView *icon_ GtkTreePath *path); gboolean gtk_icon_view_path_is_selected (GtkIconView *icon_view, GtkTreePath *path); +gint gtk_icon_view_get_item_row (GtkIconView *icon_view, + GtkTreePath *path); +gint gtk_icon_view_get_item_column (GtkIconView *icon_view, + GtkTreePath *path); GList *gtk_icon_view_get_selected_items (GtkIconView *icon_view); void gtk_icon_view_select_all (GtkIconView *icon_view); void gtk_icon_view_unselect_all (GtkIconView *icon_view); |