Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

XmVaCreatePushButtonGadget, XmVaCreateManagedPushButtonGadget — A PushButtonGadget widget convenience

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 XmVaCreatePushButtonGadget function is a convenience routine that calls XtCreateWidget.

       The XmVaCreatePushButtonGadget 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 PushButtonGadget and its associated resources, see XmPushButtonGadget(3).

Name

XmVaCreatePushButtonGadget,  XmVaCreateManagedPushButtonGadget  —  A  PushButtonGadget widget convenience
       creation  functions.   "XmVaCreateTogglePushButtonGadget"  "XmVaCreateManagedPushButtonGadget"  "creation
       functions" "XmVaCreatePushButtonGadget"

Return

       Returns the PushButtonGadget widget ID.

Synopsis

       #include <Xm/PushBG.h>

       WidgetXmVaCreatePushButtonGadget(
       Widgetparent,
       Stringname,
       ...);

       WidgetXmVaCreateManagedPushButtonGadget(
       Widgetparent,
       Stringname,
       ...);

See Also