logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Description

XmToggleButtonGadgetSetState sets or changes the ToggleButtonGadget's current state.

       widget    Specifies the ToggleButtonGadget widget ID.

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

       notify    Indicates whether XmNvalueChangedCallback is called; it can  be  either  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 ToggleButtonGadget causes other
                 ToggleButton and ToggleButtonGadget children of the RowColumn to be unselected.

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

Name

XmToggleButtonGadgetSetState  —  A  ToggleButtonGadget  function  that  sets or changes the current state
       "XmToggleButtonGadgetSet\%State" "ToggleButtonGadget functions" "XmToggleButtonGadgetSet\%State"

Synopsis

       #include <Xm/ToggleBG.h>
       voidXmToggleButtonGadgetSetState(
       Widgetwidget,
       Booleanstate,
       Booleannotify);

See Also