DOKK / manpages / debian 10 / libmotif-dev / XmCreateDragIcon.3.en
XmCreateDragIcon(3) Library Functions Manual XmCreateDragIcon(3)

XmCreateDragIcon — A Drag and Drop function that creates a DragIcon widget "XmCreateDragIcon" "Drag and Drop functions" "XmCreateDragIcon" "creation functions" "XmCreateDragIcon"

#include <Xm/DragIcon.h>
Widget XmCreateDragIcon(
Widget widget,
String name,
ArgList arglist,
Cardinal argcount);

XmCreateDragIcon creates a DragIcon and returns the associated widget ID.

Specifies the ID of the widget that the function uses to access default values for visual attributes of the DragIcon. This widget may be different than the actual parent of the DragIcon.
Specifies the name of the DragIcon widget.
Specifies the argument list.
Specifies the number of attribute/value pairs in the argument list (arglist).

For a complete definition of DragIcon and its associated resources, see XmDragIcon(3).

The function creates a DragIcon and returns the associated widget ID.

XmDragContext(3), XmDragIcon(3), and XmScreen(3).