Content-type: text/html Man page of XmDropSiteRegister

XmDropSiteRegister

Section: (3X)
Updated:
Index Return to Main Contents
 

NAME

XmDropSiteRegister - A Drag and Drop function that identifies a drop site and assigns resources that specify its behavior  

SYNOPSIS

#include <Xm/DragDrop.h>

void XmDropSiteRegister (widget, arglist, argcount) Widget widget; ArgList arglist; Cardinal argcount;
 

DESCRIPTION

XmDropSiteRegister identifies the specified widget or gadget as a drop site and sets resource values that define the drop site's behavior. The routine assigns default values to any resources that are not specified in the argument list. The toolkit generates a warning message if a drop site is registered with XmNdropSiteActivity set to XmDROP_SITE_ACTIVE and the XmNdropProc resource is NULL.

If the drop site is a descendant of a widget that is registered as a drop site, the XmNdropSiteType resource of the ancestor drop site must be specified as XmDROP_SITE_COMPOSITE. The ancestor must be registered before the descendant. The drop site is stacked above all other sibling drop sites already registered. Specifies the ID of the widget to be registered. Specifies the argument list. Specifies the number of attribute/value pairs in the argument list (arglist).

For a complete definition of DropSite and its associated resources, see XmDropSite(3X).
 

SEE ALSO

XmDisplay(3X), XmDropSite(3X), XmDropSiteEndUpdate(3X), XmDropSiteStartUpdate(3X), XmDropSiteUpdate(3X), XmDropSiteUnregister(3X), XmScreen(3X)


 

Index

NAME
SYNOPSIS
DESCRIPTION
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 02:41:10 GMT, October 02, 2010