comparison src/dnd.h @ 9:d907d608745f

Sync to GQview 1.5.9 release. ######## DO NOT BASE ENHANCEMENTS OR TRANSLATION UPDATES ON CODE IN THIS CVS! This CVS is never up to date with current development and is provided solely for reference purposes, please use the latest official release package when making any changes or translation updates. ########
author gqview
date Sat, 26 Feb 2005 00:13:35 +0000
parents
children f6e307c7bad6
comparison
equal deleted inserted replaced
8:e0d0593d519e 9:d907d608745f
1 /*
2 * GQview
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
16
17 enum {
18 TARGET_APP_COLLECTION_MEMBER,
19 TARGET_URI_LIST,
20 TARGET_TEXT_PLAIN
21 };
22
23
24 extern GtkTargetEntry dnd_file_drag_types[];
25 extern gint dnd_file_drag_types_count;
26
27 extern GtkTargetEntry dnd_file_drop_types[];
28 extern gint dnd_file_drop_types_count;
29
30
31 /* sets a drag icon to pixbuf, if items is > 1, text is drawn onto icon to indicate value */
32 void dnd_set_drag_icon(GtkWidget *widget, GdkDragContext *context, GdkPixbuf *pixbuf, gint items);
33
34
35 #endif
36