1XmToggleButtonSetState(library call) XmToggleButtonSetState(library call)
2
3
4
6 XmToggleButtonSetState — A ToggleButton function that sets or changes
7 the current state
8
10 #include <Xm/ToggleB.h>
11 void XmToggleButtonSetState(
12 Widget widget,
13 Boolean state,
14 Boolean notify);
15
17 XmToggleButtonSetState sets or changes the ToggleButton's current
18 state.
19
20 widget Specifies the ToggleButton widget ID.
21
22 state Specifies a Boolean value that indicates whether the Toggle‐
23 Button state is selected or unselected. If the value is True,
24 the button state is selected; if it is False, the button
25 state is unselected.
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 XmToggleButtonSetState(library call)