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