XMTOGGLEBUTTONSETSTATE(3)
β¨ NAME β¨
XmToggleButtonSetState β a ToggleButton function that sets or changes the current state. This is the XmToggleButtonSetState library call page, bestie, and we are folding that manual-name energy right in here. π«Ά
π SYNOPSIS π
#include <Xm/ToggleB.h>
void XmToggleButtonSetState(
Widget widget,
Boolean state,
Boolean notify);
π DESCRIPTION π
XmToggleButtonSetState sets or changes the ToggleButton's current state. Slay. That's literally the whole job. π
Here's the cast of arguments, no cap:
widgetβ specifies the ToggleButton widget ID. πstateβ specifies a Boolean value that indicates whether the ToggleButton state is selected or unselected. If the value isTrue, the button state is selected; if it isFalse, the button state is unselected. It's giving on/off, selected/unselected, iconic behavior. β¨notifyβ indicates whetherXmNvalueChangedCallbackis called; it can be eitherTrueorFalse.XmNvalueChangedCallbackis only called when this function changes the state of the ToggleButton. When this argument isTrueand the ToggleButton is a child of a RowColumn widget whoseXmNradioBehaviorisTrue, setting the ToggleButton causes other ToggleButton and ToggleButtonGadget children of the RowColumn to be unselected. So yeah, it can ripple through the group chat. π¦- The callback only fires when this function changes the state, not just whenever you look at it. Periodt.
- Radio-behavior RowColumn? Other ToggleButton and ToggleButtonGadget children get unselected. That's the vibe.
For a complete definition of ToggleButton and its associated resources, see XmToggleButton(3). π
π RELATED π
That's the whole page, bestie. Source/version: XmToggleButtonSetState(library call). Date: the footer didn't give one, so no cap, we are not inventing it. πβ¨
π¦ where this page comes from
- alpine 3.24: motif-doc 2.5.2-r0 Β· LGPL-2.1-or-later
- arch rolling: openmotif 2.3.8-4 Β· LGPL-2.1-or-later
- centos-stream 9: motif-devel 2.3.4-32.el9 Β· LGPLv2+
- centos-stream 9: motif-devel 2.3.4-32.el9 Β· LGPLv2+
- epel 10: motif-devel 2.3.8-2.el10_2 Β· LicenseRef-Callaway-LGPLv2+
- fedora 43: motif-devel 2.3.8-1.fc43 Β· LicenseRef-Callaway-LGPLv2+
- fedora 43: motif-devel 2.3.8-1.fc43 Β· LicenseRef-Callaway-LGPLv2+
- fedora 43: motif-devel 2.3.8-2.fc43 Β· LicenseRef-Callaway-LGPLv2+
- fedora 43: motif-devel 2.3.8-2.fc43 Β· LicenseRef-Callaway-LGPLv2+
- fedora 44: motif-devel 2.3.8-3.fc44 Β· LicenseRef-Callaway-LGPLv2+
- fedora 44: motif-devel 2.3.8-3.fc44 Β· LicenseRef-Callaway-LGPLv2+
- nixos 26.05: motif 2.3.8
- nixpkgs unstable: motif 2.3.8
- opensuse-leap 16.0: motif-devel 2.3.8-bp160.1.1 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: motif-devel 2.3.8-bp160.1.1 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: motif-devel 2.3.8-bp160.1.1 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: motif-devel 2.3.8-bp160.1.1 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms