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

XmCreateRadioBox — A RowColumn widget convenience creation function "XmCreateRadioBox" "creation

Description

XmCreateRadioBox creates an instance of a RowColumn widget of type XmWORK_AREA and returns the associated
       widget ID. Typically, this is  a  composite  widget  that  contains  multiple  ToggleButtonGadgets.   The
       RadioBox arbitrates and ensures that at most one ToggleButtonGadget is on at any time.

       Unless  the  application  supplies other values in the arglist, this function provides initial values for
       several RowColumn resources.  It initializes  XmNpacking  to  XmPACK_COLUMN,  XmNradioBehavior  to  True,
       XmNisHomogeneous to True, and XmNentryClass to XmToggleButtonGadgetClass.

       In   a   RadioBox,   the   ToggleButton  or  ToggleButtonGadget  resource  XmNindicatorType  defaults  to
       XmONE_OF_MANY, and the ToggleButton or ToggleButtonGadget resourceXmNvisibleWhenOff defaults to True.

       This routine is provided as a convenience function for creating RowColumn widgets.

       parent    Specifies the parent widget ID

       name      Specifies the name of the created widget

       arglist   Specifies the argument list

       argcount  Specifies the number of attribute/value pairs in the argument list (arglist)

       For a complete definition of RowColumn and its associated resources, see XmRowColumn(3).

Name

XmCreateRadioBox  —  A  RowColumn  widget  convenience  creation  function  "XmCreateRadioBox"  "creation
       functions" "XmCreateRadioBox"

Return

       Returns the RowColumn widget ID.

Synopsis

       #include <Xm/RowColumn.h>
       WidgetXmCreateRadioBox(
       Widgetparent,
       Stringname,
       ArgListarglist,
       Cardinalargcount);

See Also