logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

XmVaCreateToggleButton, XmVaCreateManagedToggleButton — A ToggleButton widget convenience creation

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

Name

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

Return

       Returns the ToggleButton widget ID.

Synopsis

       #include <Xm/ToggleB.h>

       WidgetXmVaCreateToggleButton(
       Widgetparent,
       Stringname,
       ...);

       WidgetXmVaCreateManagedToggleButton(
       Widgetparent,
       Stringname,
       ...);

See Also