1FvwmDragWell(1) Fvwm Modules FvwmDragWell(1)
2
3
4
6 FvwmDragWell - A XDND drag well
7
9 FvwmDragWell
10
11 FvwmDragWell is a Xdnd drag well. The user sends the data and type to
12 the drag well via a fvwm SendToModule command. The drag well indicates
13 that it received the information via a crude animation. The user may
14 then drag the information from the well to other applications that sup‐
15 port the Xdnd standard. The fvwm module FvwmWharf accepts drops of
16 type "text/uri-list".
17
18
20 During initialization, FvwmDragWell gets config info from fvwm's module
21 configuration database (see fvwm(1), section MODULE COMMANDS). If the
22 FvwmDragWell executable is linked to another name, i.e. ln -s FvwmDrag‐
23 Well OtherDragWell, then another module called OtherDragWell can be
24 started, with a completely different configuration than FvwmDragWell,
25 simply by changing the keyword FvwmDragWell to OtherDragWell. This way
26 multiple FvwmDragWell programs may be used.
27
28
30 Data is sent to the module from fvwm using the SendToModule Command.
31 The form of the send to module command is:
32
33 SendToModule modulename dragtype type-string, dragdata data
34
35 type-string is a quoted string that declares the type of "data" and how
36 the data will be exported. The "typestring" string is converted to an
37 XAtom. The user should use standard Mime type strings, all in lower
38 case. Note that the module does no data conversion.
39
40 There is one exception to the above format. If the datatype string is
41 omitted, the module assumes that the user is passing a file or direc‐
42 tory path. In this case, the string "file://$hostname/" is prepended
43 to the data, and the data is exported as type "text/uri-list".
44
45 Examples:
46
47 SendToModule FvwmDragWell dragdata /usr/local/libexec/fvwm/2.4.0
48
49
50 On hostname saturn, the drag well will convert the data to "file://sat‐
51 urn/usr/local/libexec/fvwm/2.4.0" and will export the data as type
52 "text/uri-list". The long form of this command would be
53
54 SendToModule FvwmDragWell dragtype text/uri-list, \
55 dragdata file://saturn/usr/local/libexec/fvwm/2.3.8
56
57
58
60 FvwmDragWell must be invoked from fvwm, so no command line invocation
61 will work.
62
63
64
66 FvwmDragWell reads the same .fvwm2rc file as fvwm reads when it starts
67 up, and looks for certain configuration options:
68
69
70
71 *FvwmDragWell: Geometry geometry
72 Completely or partially specifies the Fvwm window location and
73 geometry, in standard X11 notation. The default size is 48x48.
74
75
76 *FvwmDragWell: DragWellGeometry geometry
77 Specifies the geometry of the drag box in the FvwmDragWell win‐
78 dow, in the standard X11 notation. Default is 30x30+9+9
79
80
81
82 *FvwmDragWell: Colorset colorset
83 The colorset is used for the background and shading of the drag
84 well. See the man page of FvwmTheme for a description of col‐
85 orsets.
86
87
88 *FvwmDragWell: Fore Color
89 The foreground color. The default foreground color is grey60.
90
91
92 *FvwmDragWell: Back Color
93 The background color. The default background color is black.
94
95
96 *FvwmDragWell: Shadow Color
97 The shadow color of the button relief. The default foreground
98 relief color is grey20.
99
100
101 *FvwmDragWell: Hilite Color
102 The hilight color of the button relief. The default background
103 relief color is grey90.
104
105
108 The concept for interfacing this module to the Window Manager by Robert
109 Nation. No guarantees or warranties or anything are provided or
110 implied in any way whatsoever. Use this program at your own risk.
111 Permission to use this program for any purpose is given, as long as the
112 copyright is kept intact.
113
114
115
116
1173rd Berkeley Distribution 24 November 2007 (2.5.24) FvwmDragWell(1)