DOKK / manpages / debian 11 / libmotif-dev / XmVaCreateManagedToggleButton.3.en
XmVaCreateToggleButton(3) Library Functions Manual XmVaCreateToggleButton(3)

XmVaCreateToggleButton, XmVaCreateManagedToggleButton — A ToggleButton widget convenience creation functions. "XmVaCreateToggleToggleButton" "XmVaCreateManagedToggleButton" "creation functions" "XmVaCreateToggleButton"

#include <Xm/ToggleB.h>
Widget XmVaCreateToggleButton(
Widget parent,
String name,
...);
Widget XmVaCreateManagedToggleButton(
Widget parent,
String name,
...);

These functions create an instance of a ToggleButtonGadget widget and returns the associated widget ID. These routines use the ANSI C variable-length argument list (varargs) calling convention.

The XmVaCreateToggleButton function is a convenience routine that calls XtCreateWidget.

The XmVaCreateToggleButton function is a convenience routine that calls XtCreateManagedWidget.

Specifies the parent widget ID.
Specifies the name of the created widget.
...
Specifies the variable argument list to override the resource defaults.

For a complete definition of ToggleButton and its associated resources, see XmToggleButton(3).

Returns the ToggleButton widget ID.

XmToggleButton(3), XmCreateToggleButton(3), XtCreateWidget(3), and XtCreateManagedWidget(3).