comparison tests/Dnd/README @ 288:e11d67e05968 r21-0b42

Import from CVS: tag r21-0b42
author cvs
date Mon, 13 Aug 2007 10:35:54 +0200
parents 558f606b08ae
children c9fe270a4101
comparison
equal deleted inserted replaced
287:13a0bd77a29d 288:e11d67e05968
2 2
3 This path contains test code for the new XEmacs 3 This path contains test code for the new XEmacs
4 Drag'n'Drop code. 4 Drag'n'Drop code.
5 5
6 Currently only drops are of interest. The internal 6 Currently only drops are of interest. The internal
7 functions only work for OffiX and MSWindows. CDE 7 functions should work for OffiX, CDE, and MSWindows.
8 is broken with this.
9
10 The OffiX functions in mouse.el also work no longer,
11 because drops are now misc-user-events.
12 8
13 The misc-user-event now also responds as a button-x-event 9 The misc-user-event now also responds as a button-x-event
14 to the event-* query functions. 10 to the event-* query functions.
15 11
16 The function of a drag is called dragdrop-drop-dispatch 12 The function of a drag is called dragdrop-drop-dispatch
17 as you can see in droptest.el. From within the function 13 as you can see in droptest.el. From within the function
18 you can access the actual misc-user-event through the 14 you can access the actual misc-user-event through the
19 current-mouse-event variable. 15 current-mouse-event variable.
20
21 dragtest.el works theoretically, but it needs to be
22 adapted to some new scheme fitting the drop code (droptest.el
23 has it's own dragsources).
24 16
25 Short description of the object part of a drop misc-user-event: 17 Short description of the object part of a drop misc-user-event:
26 ( TYPE . DATA ) 18 ( TYPE . DATA )
27 TYPE is either the symbol dragdrop_MIME 19 TYPE is either the symbol dragdrop_MIME
28 or the symbol dragdrop_URL 20 or the symbol dragdrop_URL