From 094350df261ce6977e822f548c98bd2ee657d2a7 Mon Sep 17 00:00:00 2001 From: William Jon McCann Date: Mon, 20 Jan 2014 23:17:34 -0500 Subject: [PATCH] docs: add docs for GtkTreeDragSourceIface --- gtk/gtktreednd.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/gtk/gtktreednd.h b/gtk/gtktreednd.h index ca8152e06e..f55ced714b 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,