[gtk+] docs: add docs for GtkTreeDragSourceIface



commit 094350df261ce6977e822f548c98bd2ee657d2a7
Author: William Jon McCann <william jon mccann gmail com>
Date:   Mon Jan 20 23:17:34 2014 -0500

    docs: add docs for GtkTreeDragSourceIface

 gtk/gtktreednd.h |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtktreednd.h b/gtk/gtktreednd.h
index ca8152e..f55ced7 100644
--- a/gtk/gtktreednd.h
+++ b/gtk/gtktreednd.h
@@ -35,10 +35,22 @@ G_BEGIN_DECLS
 typedef struct _GtkTreeDragSource      GtkTreeDragSource; /* Dummy typedef */
 typedef struct _GtkTreeDragSourceIface GtkTreeDragSourceIface;
 
+/**
+ * GtkTreeDragSourceIface:
+ * @row_draggable: Asks the #GtkTreeDragSource whether a particular
+ *    row can be used as the source of a DND operation.
+ * @drag_data_get: Asks the #GtkTreeDragSource to fill in
+ *    selection_data with a representation of the row at path.
+ * @drag_data_delete: Asks the #GtkTreeDragSource to delete the row at
+ *    path, because it was moved somewhere else via drag-and-drop.
+ */
 struct _GtkTreeDragSourceIface
 {
+  /*< private >*/
   GTypeInterface g_iface;
 
+  /*< public >*/
+
   /* VTable - not signals */
 
   gboolean     (* row_draggable)        (GtkTreeDragSource   *drag_source,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]