Mercurial > geeqie
annotate src/dnd.h @ 1129:00d2520e7190
Advanced options documentation is now almost in sync with current geeqie.
author | zas_ |
---|---|
date | Tue, 11 Nov 2008 10:09:09 +0000 |
parents | 1646720364cf |
children | 8b89e3ff286b |
rev | line source |
---|---|
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 | |
1055
1646720364cf
Adding a vim modeline to all files - patch by Klaus Ethgen
nadvornik
parents:
475
diff
changeset
|
38 /* vim: set shiftwidth=8 softtabstop=0 cindent cinoptions={1s: */ |