284
|
1 @c -*-texinfo-*-
|
|
2 @c This is part of the XEmacs Lisp Reference Manual.
|
|
3 @c Copyright (C) 1998 Oliver Graf <ograf@fga.de>
|
|
4 @c Original reference is (c) 1990, 1991, 1992, 1993, 1994 Free Software Foundation, Inc.
|
|
5 @c See the file lispref.texi for copying conditions.
|
|
6 @setfilename ../../info/dragndrop.texi
|
|
7 @node Drag'n'Drop, Modes, Scrollbars, Top
|
|
8 @chapter Drag'n'Drop
|
|
9 @cindex drag'n'drop
|
|
10
|
|
11 Drag'n'drop is a way to transfer information between multiple applications.
|
|
12 To do this serveral GUIs define their own protocols. Examples are OffiX, CDE,
|
|
13 Motif, KDE, MSWindows, GNOME, and many more. To catch all these protocols,
|
|
14 XEmacs provides a generic API.
|
|
15
|
|
16 @menu
|
|
17 * Supported Protocols:: Which low-level protocols are supported.
|
|
18 * Drop Interface:: How XEmacs handles a drop from another application.
|
|
19 * Drag Interface:: Calls to initiate a drag from XEmacs.
|
|
20 @end menu
|
|
21
|
|
22 @node Supported Protocols
|
|
23 @section Supported Protocols
|
|
24
|
|
25 The current release of XEmacs only support a small set of Drag'n'drop
|
|
26 protocols. Some of these only support limited options avaiable in the API.
|
|
27
|
|
28 @menu
|
|
29 * OffiX DND:: A generic X based protocol.
|
|
30 * CDE dt:: Common Desktop Environment used on suns.
|
|
31 * MSWindows OLE:: Mr. Gates way of live.
|
|
32 @end menu
|
|
33
|
|
34 @node OffiX DND
|
|
35 @subsection OffiX DND
|
|
36 @cindex OffiX DND
|
|
37
|
|
38 The OffiX Drag'n'Drop protocol is part of a X API/Widget library created by
|
|
39 Cesar Crusius. It is based on X-Atoms and ClientMessage events, and works with
|
|
40 any X platform supporting them.
|
|
41
|
|
42 OffiX is supported if 'offix is member of the variable dragdrop-protocols, or
|
|
43 the feature 'offix is defined.
|
|
44
|
|
45 XEmacs supports both MIME and URL drags and drops using this API. No application
|
|
46 interaction is possible while dragging is in progress.
|
|
47
|
|
48 For infomation about the OffiX project have a look at http://leb.net/~offix/
|
|
49
|
|
50 @node CDE dt
|
|
51 @subsection CDE dt
|
|
52 @cindex CDE dt
|
|
53
|
|
54 to be written
|
|
55
|
|
56 @node MSWindows OLE
|
|
57 @subsection MSWindows OLE
|
|
58 @cindex MSWindows OLE
|
|
59
|
|
60 to be written
|
|
61
|
|
62 @node Drop Interface
|
|
63 @section Drop Interface
|
|
64 @cindex drop
|
|
65
|
|
66 This describes the drop API (under construction)
|
|
67
|
|
68 @node Drag Interface
|
|
69 @section Drag Interface
|
|
70
|
|
71 This describes the drag API (not implemented yet).
|