DOKK / manpages / debian 12 / libmotif-dev / XmToggleButtonGetState.3.en
XmToggleButtonGetState(3) Library Functions Manual XmToggleButtonGetState(3)

XmToggleButtonGetState — A ToggleButton function that obtains the state of a ToggleButton "XmToggleButtonGetState" "ToggleButton functions" "XmToggleButtonGetState"

#include <Xm/ToggleB.h>
Boolean XmToggleButtonGetState(
Widget widget);

XmToggleButtonGetState obtains the state of a ToggleButton.

Specifies the ToggleButton widget ID

For a complete definition of ToggleButton and its associated resources, see XmToggleButton(3).

Returns True if the button is selected and False if the button is unselected.

XmToggleButton(3).