1XmDropSiteRegister(library call) XmDropSiteRegister(library call)
2
3
4
6 XmDropSiteRegister — A Drag and Drop function that identifies a drop
7 site and assigns resources that specify its behavior
8
10 #include <Xm/DragDrop.h>
11 void XmDropSiteRegister(
12 Widget widget,
13 ArgList arglist,
14 Cardinal argcount);
15
17 XmDropSiteRegister identifies the specified widget or gadget as a drop
18 site and sets resource values that define the drop site's behavior. The
19 routine assigns default values to any resources that are not specified
20 in the argument list. The toolkit generates a warning message if a
21 drop site is registered with XmNdropSiteActivity set to
22 XmDROP_SITE_ACTIVE and the XmNdropProc resource is NULL.
23
24 If the drop site is a descendant of a widget that is registered as a
25 drop site, the XmNdropSiteType resource of the ancestor drop site must
26 be specified as XmDROP_SITE_COMPOSITE. The ancestor must be registered
27 before the descendant. The drop site is stacked above all other sibling
28 drop sites already registered.
29
30 widget Specifies the ID of the widget to be registered.
31
32 arglist Specifies the argument list.
33
34 argcount Specifies the number of attribute/value pairs in the argument
35 list (arglist).
36
37 For a complete definition of DropSite and its associated resources, see
38 XmDropSite(3).
39
41 XmDisplay(3), XmDropSite(3), XmDropSiteEndUpdate(3), XmDropSiteStartUp‐
42 date(3), XmDropSiteUpdate(3), XmDropSiteUnregister(3), and XmScreen(3).
43
44
45
46 XmDropSiteRegister(library call)