comparison man/lispref/dragndrop.texi @ 444:576fb035e263 r21-2-37

Import from CVS: tag r21-2-37
author cvs
date Mon, 13 Aug 2007 11:36:19 +0200
parents 3ecd8885ac67
children 47c30044fc4e
comparison
equal deleted inserted replaced
443:a8296e22da4e 444:576fb035e263
1 @c -*-texinfo-*- 1 @c -*-texinfo-*-
2 @c This is part of the XEmacs Lisp Reference Manual. 2 @c This is part of the XEmacs Lisp Reference Manual.
3 @c Copyright (C) 1998 Oliver Graf <ograf@fga.de> 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. 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. 5 @c See the file lispref.texi for copying conditions.
6 @setfilename ../../info/dragndrop.texi 6 @setfilename ../../info/dragndrop.texi
7 @node Drag and Drop, Modes, Scrollbars, Top 7 @node Drag and Drop, Modes, Scrollbars, Top
8 @chapter Drag and Drop 8 @chapter Drag and Drop
9 @cindex drag and drop 9 @cindex drag and drop
55 55
56 OffiX is supported if 'offix is member of the variable dragdrop-protocols, or 56 OffiX is supported if 'offix is member of the variable dragdrop-protocols, or
57 the feature 'offix is defined. 57 the feature 'offix is defined.
58 58
59 Unfortunately it uses it's own data types. Examples are: File, Files, 59 Unfortunately it uses it's own data types. Examples are: File, Files,
60 Exe, Link, URL, MIME. The API tries to choose the right type for the data that 60 Exe, Link, URL, MIME. The API tries to choose the right type for the data that
61 is dragged from XEmacs (well, not yet...). 61 is dragged from XEmacs (well, not yet...).
62 62
63 XEmacs supports both MIME and URL drags and drops using this API. No application 63 XEmacs supports both MIME and URL drags and drops using this API. No application
64 interaction is possible while dragging is in progress. 64 interaction is possible while dragging is in progress.
65 65
66 For information about the OffiX project have a look at http://leb.net/~offix/ 66 For information about the OffiX project have a look at http://leb.net/~offix/
67 67
68 @node CDE dt 68 @node CDE dt
105 misc-user-event. 105 misc-user-event.
106 106
107 This misc-user-event has its function argument set to 107 This misc-user-event has its function argument set to
108 @code{dragdrop-drop-dispatch} and the object contains the data of the drop 108 @code{dragdrop-drop-dispatch} and the object contains the data of the drop
109 (converted to URL/MIME specific data). This function will search the variable 109 (converted to URL/MIME specific data). This function will search the variable
110 @code{experimental-dragdrop-drop-functions} for a function that can handle the 110 @code{experimental-dragdrop-drop-functions} for a function that can handle the
111 dropped data. 111 dropped data.
112 112
113 To modify the drop behavior, the user can modify the variable 113 To modify the drop behavior, the user can modify the variable
114 @code{experimental-dragdrop-drop-functions}. Each element of this list 114 @code{experimental-dragdrop-drop-functions}. Each element of this list
115 specifies a possible handler for dropped data. The first one that can handle 115 specifies a possible handler for dropped data. The first one that can handle
116 the data will return @code{t} and exit. Another possibility is to set a 116 the data will return @code{t} and exit. Another possibility is to set a
117 extent-property with the same name. Extents are checked prior to the 117 extent-property with the same name. Extents are checked prior to the
118 variable. 118 variable.
119 119
120 The customization group @code{drag-n-drop} shows all variables of user 120 The customization group @code{drag-n-drop} shows all variables of user
121 interest. 121 interest.
122 122
123 @node Drag Interface 123 @node Drag Interface
124 @section Drag Interface 124 @section Drag Interface
125 @cindex drag 125 @cindex drag
126 @cindex Drag API 126 @cindex Drag API