#include <X11/Xlib.h>
#include <X11/Xatom.h>
Go to the source code of this file.
Classes |
struct | DndData |
Defines |
#define | DndVersion 1 |
#define | DndRevision 0 |
#define | DndIncludeVersion (DndVersion * 10 + DndRevision) |
#define | DND_DRAG_NONE 0 |
#define | DND_DRAG_DROP_ONLY 1 |
#define | DND_DRAG_DYNAMIC 5 |
#define | DND_TOP_LEVEL_ENTER 0 |
#define | DND_TOP_LEVEL_LEAVE 1 |
#define | DND_DRAG_MOTION 2 |
#define | DND_DROP_SITE_ENTER 3 |
#define | DND_DROP_SITE_LEAVE 4 |
#define | DND_DROP_START 5 |
#define | DND_OPERATION_CHANGED 8 |
#define | DND_NOOP 0L |
#define | DND_MOVE (1L << 0) |
#define | DND_COPY (1L << 1) |
#define | DND_LINK (1L << 2) |
#define | DND_NO_DROP_SITE 1 |
#define | DND_INVALID_DROP_SITE 2 |
#define | DND_VALID_DROP_SITE 3 |
#define | DND_DROP 0 |
#define | DND_DROP_HELP 1 |
#define | DND_DROP_CANCEL 2 |
Functions |
void | DndWriteSourceProperty (Display *dpy, Window window, Atom dnd_selection, Atom *targets, unsigned short num_targets) |
void | DndReadSourceProperty (Display *dpy, Window window, Atom dnd_selection, Atom **targets, unsigned short *num_targets) |
void | DndWriteReceiverProperty (Display *dpy, Window window, unsigned char protocol_style) |
void | DndReadReceiverProperty (Display *dpy, Window window, unsigned char *protocol_style) |
void | DndFillClientMessage (Display *dpy, Window window, XClientMessageEvent *cm, DndData *dnd_data, char receiver) |
Bool | DndParseClientMessage (XClientMessageEvent *cm, DndData *dnd_data, char *receiver) |
Define Documentation
Definition at line 23 of file Dnd.h.
Definition at line 24 of file Dnd.h.
#define DndIncludeVersion (DndVersion * 10 + DndRevision) |
Definition at line 25 of file Dnd.h.
Definition at line 30 of file Dnd.h.
#define DND_DRAG_DROP_ONLY 1 |
Definition at line 31 of file Dnd.h.
#define DND_DRAG_DYNAMIC 5 |
Definition at line 32 of file Dnd.h.
#define DND_TOP_LEVEL_ENTER 0 |
Definition at line 35 of file Dnd.h.
#define DND_TOP_LEVEL_LEAVE 1 |
Definition at line 36 of file Dnd.h.
#define DND_DRAG_MOTION 2 |
Definition at line 37 of file Dnd.h.
#define DND_DROP_SITE_ENTER 3 |
Definition at line 38 of file Dnd.h.
#define DND_DROP_SITE_LEAVE 4 |
Definition at line 39 of file Dnd.h.
Definition at line 40 of file Dnd.h.
#define DND_OPERATION_CHANGED 8 |
Definition at line 41 of file Dnd.h.
Definition at line 44 of file Dnd.h.
#define DND_MOVE (1L << 0) |
Definition at line 45 of file Dnd.h.
#define DND_COPY (1L << 1) |
Definition at line 46 of file Dnd.h.
#define DND_LINK (1L << 2) |
Definition at line 47 of file Dnd.h.
#define DND_NO_DROP_SITE 1 |
Definition at line 50 of file Dnd.h.
#define DND_INVALID_DROP_SITE 2 |
Definition at line 51 of file Dnd.h.
#define DND_VALID_DROP_SITE 3 |
Definition at line 52 of file Dnd.h.
Definition at line 55 of file Dnd.h.
Definition at line 56 of file Dnd.h.
#define DND_DROP_CANCEL 2 |
Definition at line 57 of file Dnd.h.
Function Documentation
void DndWriteSourceProperty |
( |
Display * |
dpy, |
|
|
Window |
window, |
|
|
Atom |
dnd_selection, |
|
|
Atom * |
targets, |
|
|
unsigned short |
num_targets | |
|
) |
| | |
void DndReadSourceProperty |
( |
Display * |
dpy, |
|
|
Window |
window, |
|
|
Atom |
dnd_selection, |
|
|
Atom ** |
targets, |
|
|
unsigned short * |
num_targets | |
|
) |
| | |
void DndWriteReceiverProperty |
( |
Display * |
dpy, |
|
|
Window |
window, |
|
|
unsigned char |
protocol_style | |
|
) |
| | |
void DndReadReceiverProperty |
( |
Display * |
dpy, |
|
|
Window |
window, |
|
|
unsigned char * |
protocol_style | |
|
) |
| | |
void DndFillClientMessage |
( |
Display * |
dpy, |
|
|
Window |
window, |
|
|
XClientMessageEvent * |
cm, |
|
|
DndData * |
dnd_data, |
|
|
char |
receiver | |
|
) |
| | |
Bool DndParseClientMessage |
( |
XClientMessageEvent * |
cm, |
|
|
DndData * |
dnd_data, |
|
|
char * |
receiver | |
|
) |
| | |