1XmToggleButtonGadgetSetState(libraryXcmaTlolg)gleButtonGadgetSetState(library call)
2
3
4
6 XmToggleButtonGadgetSetState — A ToggleButtonGadget function that sets
7 or changes the current state
8
10 #include <Xm/ToggleBG.h>
11 void XmToggleButtonGadgetSetState(
12 Widget widget,
13 Boolean state,
14 Boolean notify);
15
17 XmToggleButtonGadgetSetState sets or changes the ToggleButtonGadget's
18 current state.
19
20 widget Specifies the ToggleButtonGadget widget ID.
21
22 state Specifies a Boolean value that indicates whether the Toggle‐
23 ButtonGadget state is selected or unselected. If the value is
24 True, the button state is selected; if it is False, the but‐
25 ton 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 tonGadget. When this argument is True and the ToggleButton‐
31 Gadget is a child of a RowColumn widget whose XmNradioBehav‐
32 ior is True, setting the ToggleButtonGadget causes other Tog‐
33 gleButton and ToggleButtonGadget children of the RowColumn to
34 be unselected.
35
36 For a complete definition of ToggleButtonGadget and its associated
37 resources, see XmToggleButtonGadget(3).
38
40 XmToggleButtonGadget(3).
41
42
43
44 XmToggleButtonGadgetSetState(library call)