XmToggleButtonSetState(3X)XmToggleButtonSetState(3X)NAMEXmToggleButtonSetState - A ToggleButton function that sets or changes
the current state
SYNOPSIS
#include <Xm/ToggleB.h>
void XmToggleButtonSetState (widget, state, notify)
Widget widget;
Boolean state;
Boolean notify;
DESCRIPTIONXmToggleButtonSetState sets or changes the ToggleButton's current
state. Specifies the ToggleButton widget ID. Specifies a Boolean
value that indicates whether the ToggleButton state is selected or uns‐
elected. 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 XmNvalueChangedCallback is
only called when this function changes the state of the ToggleButton.
When this argument is True and the ToggleButton is a child of a RowCol‐
umn widget whose XmNradioBehavior is True, setting the ToggleButton
causes other ToggleButton and ToggleButtonGadget children of the Row‐
Column to be unselected.
For a complete definition of ToggleButton and its associated resources,
see XmToggleButton(3X).
SEE ALSOXmToggleButton(3X)XmToggleButtonSetState(3X)