XmCreateCommand(library call) XmCreateCommand(library call)

XmCreateCommand — The Command widget creation function

#include <Xm/Command.h>
Widget XmCreateCommand(
Widget parent,
String name,
ArgList arglist,
Cardinal argcount);

XmCreateCommand creates an instance of a Command widget and returns the associated widget ID.

Specifies the parent widget ID
Specifies the name of the created widget
Specifies the argument list
Specifies the number of attribute/value pairs in the argument list (arglist)

For a complete definition of Command and its associated resources, see XmCommand(3).

Returns the Command widget ID.