manpagez: man pages & more
man XmToggleButtonSetValue(3)
Home | html | info | man
XmToggleButtonSetValue(library call)      XmToggleButtonSetValue(library call)




NAME

       XmToggleButtonSetValue  -- A ToggleButton function that sets or changes
       the current state


SYNOPSIS

       #include <Xm/ToggleB.h>
       void XmToggleButtonSetValue(
       Widget widget,
       XmToggleButtonState state,
       Boolean notify);


DESCRIPTION

       XmToggleButtonSetValue  sets  or  changes  the  ToggleButton's  current
       state.

       widget    Specifies the ToggleButton widget ID.

       state     Specifies whether the ToggleButton state is selected or unse-
                 lected. If the value is True, the button state  is  selected;
                 if  it  is  False,  the  button state is unselected, if it is
                 XmINDETERMINATE, the button state is neither.

       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 ToggleBut-
                 ton.   When  this  argument is True and the ToggleButton is a
                 child of a RowColumn widget whose XmNradioBehavior  is  True,
                 setting  the  ToggleButton causes other ToggleButton and Tog-
                 gleButtonGadget children of the RowColumn to be unselected.

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


RELATED

       XmToggleButton(3).



                                          XmToggleButtonSetValue(library call)

openMotif 2.3.1 - Generated Thu Dec 4 11:47:25 CST 2008
© manpagez.com 2000-2024
Individual documents may contain additional copyright information.