Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XmDragStart(3X) — Solaris 2.4 x86 SDK

Media Vault

Software Library

Restoration Projects

Artifacts Sought

XmDragStart(3X)

NAME

XmDragStart—A Drag and Drop function that initiates a drag and drop transaction

SYNOPSIS

#include <Xm/DragDrop.h>
Widget XmDragStart (widget, event, arglist, argcount)
Widgetwidget;
XEvent∗event;
ArgListarglist;
Cardinalargcount;

DESCRIPTION

XmDragStart initiates a drag operation.  This routine returns the DragContext widget that it initializes for the associated drag transaction.  The toolkit is responsible for freeing the DragContext when the drag and drop transaction is complete. 

widgetSpecifies the ID of the smallest widget and/or gadget that encloses the source elements selected for a drag operation. 

eventSpecifies the XEvent that triggered the drag operation.  This event must be a ButtonPress event. 

arglistSpecifies the argument list.  Any XmDragContext resources not specified in the argument list are obtained from the resource database or are set to their default values. 

argcountSpecifies the number of attribute/value pairs in the argument list (arglist)

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

RETURN VALUE

Returns the ID of the DragContext widget that controls this drag and drop transaction. 

RELATED INFORMATION

XmDragCancel(3X) and XmDragContext(3X). 

SunOS   —  Last change:

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026