9
|
1 /*
|
196
|
2 * Geeqie
|
9
|
3 * (C) 2004 John Ellis
|
475
|
4 * Copyright (C) 2008 The Geeqie Team
|
9
|
5 *
|
|
6 * Author: John Ellis
|
|
7 *
|
|
8 * This software is released under the GNU General Public License (GNU GPL).
|
|
9 * Please read the included file COPYING for more information.
|
|
10 * This software comes with no warranty of any kind, use at your own risk!
|
|
11 */
|
|
12
|
|
13
|
|
14 #ifndef DND_H
|
|
15 #define DND_H
|
|
16
|
316
|
17 #define TARGET_APP_COLLECTION_MEMBER_STRING "application/x-" GQ_APPNAME_LC "-collection-member"
|
9
|
18
|
|
19 enum {
|
|
20 TARGET_APP_COLLECTION_MEMBER,
|
|
21 TARGET_URI_LIST,
|
|
22 TARGET_TEXT_PLAIN
|
|
23 };
|
|
24
|
|
25
|
|
26 extern GtkTargetEntry dnd_file_drag_types[];
|
|
27 extern gint dnd_file_drag_types_count;
|
|
28
|
|
29 extern GtkTargetEntry dnd_file_drop_types[];
|
|
30 extern gint dnd_file_drop_types_count;
|
|
31
|
|
32
|
|
33 /* sets a drag icon to pixbuf, if items is > 1, text is drawn onto icon to indicate value */
|
|
34 void dnd_set_drag_icon(GtkWidget *widget, GdkDragContext *context, GdkPixbuf *pixbuf, gint items);
|
|
35
|
|
36
|
|
37 #endif
|