diff options
author | William Jon McCann <william.jon.mccann@gmail.com> | 2014-01-20 23:17:34 -0500 |
---|---|---|
committer | William Jon McCann <william.jon.mccann@gmail.com> | 2014-01-21 13:33:45 -0500 |
commit | 094350df261ce6977e822f548c98bd2ee657d2a7 (patch) | |
tree | 98c4cc6b517f629804ecbde839b027d42af5f734 /gtk/gtktreednd.h | |
parent | a64ffa2958ed747238128120a0297246ac708477 (diff) | |
download | gtk+-094350df261ce6977e822f548c98bd2ee657d2a7.tar.gz |
docs: add docs for GtkTreeDragSourceIface
Diffstat (limited to 'gtk/gtktreednd.h')
-rw-r--r-- | gtk/gtktreednd.h | 12 |
1 files changed, 12 insertions, 0 deletions
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, |