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

XmCreatePushButton — The PushButton widget creation function "XmCreatePushButton" "creation functions" "XmCreatePushButton"

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

XmCreatePushButton creates an instance of a PushButton 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 PushButton and its associated resources, see XmPushButton(3).

Returns the PushButton widget ID.

XmPushButton(3).