DOKK / manpages / debian 12 / libmotif-dev / XmCreateCommand.3.en
XmCreateCommand(3) Library Functions Manual XmCreateCommand(3)

XmCreateCommand — The Command widget creation function "XmCreateCommand" "creation functions" "XmCreateCommand"

#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.

XmCommand(3).