diff options
Diffstat (limited to 'gtk/gtkdnd.h')
-rw-r--r-- | gtk/gtkdnd.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gtk/gtkdnd.h b/gtk/gtkdnd.h index 98ca190a35..e464e1dd96 100644 --- a/gtk/gtkdnd.h +++ b/gtk/gtkdnd.h @@ -35,6 +35,13 @@ typedef enum { GTK_DEST_DEFAULT_ALL = 0x07 } GtkDestDefaults; +/* Flags for the GtkTargetEntry on the destination side + */ +typedef enum { + GTK_TARGET_SAME_APP = 1 << 0, /*< nick=same-app >*/ + GTK_TARGET_SAME_WIDGET = 1 << 1 /*< nick=same-widget >*/ +} GtkTargetFlags; + /* Destination side */ void gtk_drag_get_data (GtkWidget *widget, @@ -46,6 +53,8 @@ void gtk_drag_finish (GdkDragContext *context, gboolean del, guint32 time); +GtkWidget *gtk_drag_get_source_widget (GdkDragContext *context); + void gtk_drag_highlight (GtkWidget *widget); void gtk_drag_unhighlight (GtkWidget *widget); |