XmToggleButtonGadgetSetState(3X)

XmToggleButtonGadgetSetState -- A ToggleButtonGadget function that sets or changes the current state

As shipped in IRIX 6.5.19. Unchanged since IRIX 6.5.

NAME
     XmToggleButtonGadgetSetState  -- A ToggleButtonGadget function that sets or
     changes the current state

SYNOPSIS
     #include <Xm/ToggleBG.h>

     void XmToggleButtonGadgetSetState (widget, state, notify)
          Widget    widget;
          Boolean   state;
          Boolean   notify;


VERSION
     This page documents version 1.2 of the Motif library.

DESCRIPTION
     XmToggleButtonGadgetSetState sets or changes the ToggleButtonGadget's  cur-
     rent state.


     widget Specifies the ToggleButtonGadget widget ID.

     state  Specifies  a  Boolean value that indicates whether the ToggleButton-
            Gadget state is selected or unselected.  If True, the  button  state
            is selected; if False, the button state is unselected.

     notify Indicates  whether  XmNvalueChangedCallback is called; it can be ei-
            ther True or False.  The XmNvalueChangedCallback is only called when
            this function changes the state  of  the  ToggleButtonGadget.   When
            this  argument  is  True  and the ToggleButtonGadget is a child of a
            RowColumn widget whose XmNradioBehavior is True, setting the Toggle-
            ButtonGadget causes other ToggleButton and ToggleButtonGadget  chil-
            dren of the RowColumn to be unselected.


     For  a  complete  definition  of  ToggleButtonGadget and its associated re-
     sources, see XmToggleButtonGadget(3X).

RELATED INFORMATION
     XmToggleButtonGadget(3X).

                                                XmToggleButtonGadgetSetState(3X)