Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

xmtogglebuttongadgetsetstate(3x) [osf1 man page]

XmToggleButtonGadgetSetState(3X)										  XmToggleButtonGadgetSetState(3X)

NAME
XmToggleButtonGadgetSetState - A ToggleButtonGadget function that sets or changes the current state SYNOPSIS
#include <Xm/ToggleBG.h> void XmToggleButtonGadgetSetState (widget, state, notify) Widget widget; Boolean state; Boolean notify; DESCRIPTION
XmToggleButtonGadgetSetState sets or changes the ToggleButtonGadget's current state. Specifies the ToggleButtonGadget widget ID. Speci- fies a Boolean value that indicates whether the ToggleButtonGadget state is selected or unselected. If True, the button state is selected; if False, the button state is unselected. Indicates whether XmNvalueChangedCallback is called; it can be either True or False. The XmNval- ueChangedCallback is only called when this function changes the state of the ToggleButtonGadget. When this argument is True and the Toggle- ButtonGadget is a child of a RowColumn widget whose XmNradioBehavior is True, setting the ToggleButtonGadget causes other ToggleButton and ToggleButtonGadget children of the RowColumn to be unselected. For a complete definition of ToggleButtonGadget and its associated resources, see XmToggleButtonGadget(3X). SEE ALSO
XmToggleButtonGadget(3X) XmToggleButtonGadgetSetState(3X)

Check Out this Related Man Page

XmCreateRadioBox(library call)											    XmCreateRadioBox(library call)

NAME
XmCreateRadioBox -- A RowColumn widget convenience creation function SYNOPSIS
#include <Xm/RowColumn.h> Widget XmCreateRadioBox( Widget parent, String name, ArgList arglist, Cardinal argcount); 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 XmToggleButtonGadget- Class. In a RadioBox, the ToggleButton or ToggleButtonGadget resource XmNindicatorType defaults to XmONE_OF_MANY, and the ToggleButton or Toggle- ButtonGadget 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). RETURN
Returns the RowColumn widget ID. RELATED
XmCreateRowColumn(3), XmCreateSimpleCheckBox(3), XmCreateSimpleRadioBox(3), XmCreateWorkArea(3), XmRowColumn(3), XmVaCreateSimpleCheck- Box(3), and XmVaCreateSimpleRadioBox(3). XmCreateRadioBox(library call)
Man Page