XmCreateToggleButton(library call) XmCreateToggleButton(library call)

XmCreateToggleButton — The ToggleButton widget creation function

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

XmCreateToggleButton creates an instance of a ToggleButton 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 ToggleButton and its associated resources, see XmToggleButton(3).

Returns the ToggleButton widget ID.