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

XmVaCreateToggleButtonGadget, XmVaCreateManagedToggleButtonGadget — A ToggleButtonGadget widget convenience creation functions. "XmVaCreateToggleToggleButtonGadget" "XmVaCreateManagedToggleButtonGadget" "creation functions" "XmVaCreateToggleButtonGadget"

#include <Xm/ToggleBG.h>
Widget XmVaCreateToggleButtonGadget(
Widget parent,
String name,
...);
Widget XmVaCreateManagedToggleButtonGadget(
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 XmVaCreateToggleButtonGadget function is a convenience routine that calls XtCreateWidget.

The XmVaCreateToggleButtonGadget 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 ToggleButtonGadget and its associated resources, see XmToggleButtonGadget(3).

Returns the ToggleButtonGadget widget ID.

XmToggleButtonGadget(3), XmCreateToggleButtonGadget(3), XtCreateWidget(3), and XtCreateManagedWidget(3).