XmVaCreateToggleButton - Man Page

A ToggleButton widget convenience creation functions.

Synopsis

#include <Xm/ToggleB.h>

Widget XmVaCreateToggleButton(
Widget parent,
String name,
...);

Widget XmVaCreateManagedToggleButton(
Widget parent,
String name,
...);

Description

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.

parent

Specifies the parent widget ID.

name

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

Return

Returns the ToggleButton widget ID.

Referenced By

XmToggleButton(3).

The man page XmVaCreateManagedToggleButton(3) is an alias of XmVaCreateToggleButton(3).