1XmToggleButtonSetValue(library call) XmToggleButtonSetValue(library call)
2
3
4
6 XmToggleButtonSetValue — A ToggleButton function that sets or changes
7 the current state
8
10 #include <Xm/ToggleB.h>
11 void XmToggleButtonSetValue(
12 Widget widget,
13 XmToggleButtonState state,
14 Boolean notify);
15
17 XmToggleButtonSetValue sets or changes the ToggleButton's current
18 state.
19
20 widget Specifies the ToggleButton widget ID.
21
22 state Specifies whether the ToggleButton state is selected or unse‐
23 lected. If the value is True, the button state is selected;
24 if it is False, the button state is unselected, if it is
25 XmINDETERMINATE, the button state is neither.
26
27 notify Indicates whether XmNvalueChangedCallback is called; it can
28 be either True or False. The XmNvalueChangedCallback is only
29 called when this function changes the state of the ToggleBut‐
30 ton. When this argument is True and the ToggleButton is a
31 child of a RowColumn widget whose XmNradioBehavior is True,
32 setting the ToggleButton causes other ToggleButton and Tog‐
33 gleButtonGadget children of the RowColumn to be unselected.
34
35 For a complete definition of ToggleButton and its associated resources,
36 see XmToggleButton(3).
37
39 XmToggleButton(3).
40
41
42
43 XmToggleButtonSetValue(library call)