DOKK / manpages / debian 11 / libmotif-dev / XmToggleButtonGadgetGetState.3.en
XmToggleButtonGadgetGetState(3) Library Functions Manual XmToggleButtonGadgetGetState(3)

XmToggleButtonGadgetGetState — A ToggleButtonGadget function that obtains the state of a ToggleButtonGadget "XmToggleButtonGadgetGet\%State" "ToggleButtonGadget functions" "XmToggleButtonGadgetGet\%State"

#include <Xm/ToggleBG.h>
Boolean XmToggleButtonGadgetGetState(
Widget widget);

XmToggleButtonGadgetGetState obtains the state of a ToggleButtonGadget.

Specifies the ToggleButtonGadget ID

For a complete definition of ToggleButtonGadget and its associated resources, see XmToggleButtonGadget(3).

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

XmToggleButtonGadget(3).