summaryrefslogtreecommitdiff
path: root/gtk/gtkiconview.h
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2010-06-09 03:01:03 +0200
committerJavier Jardón <jjardon@gnome.org>2010-06-09 06:25:28 +0200
commit9ad9c193ea3cb67045a5b12650ff8b2584cf910b (patch)
treec51001fe22faa7a5c38b9b7c0de4a9f215e1c128 /gtk/gtkiconview.h
parentee483ec328aa8af734c7fb5eee2605714a243da9 (diff)
downloadgtk+-9ad9c193ea3cb67045a5b12650ff8b2584cf910b.tar.gz
[docs] Added some GtkIconView missing documentation
Document GtkIconViewDropPosition and GtkIconViewForeachFunc. The docs was removed by error in commit e17b9f282fb6cfb413de598350e273a68031994b
Diffstat (limited to 'gtk/gtkiconview.h')
-rw-r--r--gtk/gtkiconview.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/gtk/gtkiconview.h b/gtk/gtkiconview.h
index 422b51a385..dfb7688f4f 100644
--- a/gtk/gtkiconview.h
+++ b/gtk/gtkiconview.h
@@ -43,10 +43,30 @@ typedef struct _GtkIconView GtkIconView;
typedef struct _GtkIconViewClass GtkIconViewClass;
typedef struct _GtkIconViewPrivate GtkIconViewPrivate;
+/**
+ * GtkIconViewForeachFunc:
+ * @icon_view: a #GtkIconView
+ * @path: The #GtkTreePath of a selected row
+ * @data: user data
+ *
+ * A function used by gtk_icon_view_selected_foreach() to map all
+ * selected rows. It will be called on every selected row in the view.
+ */
typedef void (* GtkIconViewForeachFunc) (GtkIconView *icon_view,
GtkTreePath *path,
gpointer data);
+/**
+ * GtkIconViewDropPosition:
+ * @GTK_ICON_VIEW_NO_DROP: no drop possible
+ * @GTK_ICON_VIEW_DROP_INTO: dropped item replaces the item
+ * @GTK_ICON_VIEW_DROP_LEFT: droppped item is inserted to the left
+ * @GTK_ICON_VIEW_DROP_RIGHT: dropped item is inserted to the right
+ * @GTK_ICON_VIEW_DROP_ABOVE: dropped item is inserted above
+ * @GTK_ICON_VIEW_DROP_BELOW: dropped item is inserted below
+ *
+ * An enum for determining where a dropped item goes.
+ */
typedef enum
{
GTK_ICON_VIEW_NO_DROP,