Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
XmToggleButtonSetState(3)  Library Functions Manual  XmToggleButtonSetState(3)

NAME
       XmToggleButtonSetState  -- A ToggleButton function that sets or changes
       the current state

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

DESCRIPTION
       XmToggleButtonSetState  sets  or	 changes  the  ToggleButton's  current
       state.

       widget	 Specifies the ToggleButton widget ID.

       state	 Specifies  a Boolean value that indicates whether the Toggle-
		 Button	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 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).

						     XmToggleButtonSetState(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=XmToggleButtonSetState&sektion=3&manpath=FreeBSD+Ports+14.3.quarterly>

home | help