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

FreeBSD Manual Pages

  
 
  

home | help
XmToggleButtonGadgetSetStatLibrary Functions MaXmToggleButtonGadgetSetState(3)

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

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

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 Toggle-
		 ButtonGadget state is selected	or unselected. If the value is
		 True,	the button state is selected; if it is False, the but-
		 ton 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-
		 tonGadget.   When this	argument is True and the ToggleButton-
		 Gadget	is a child of a	RowColumn widget whose	XmNradioBehav-
		 ior is	True, setting the ToggleButtonGadget causes other Tog-
		 gleButton and ToggleButtonGadget children of the RowColumn to
		 be unselected.

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

RELATED
       XmToggleButtonGadget(3).

					       XmToggleButtonGadgetSetState(3)

NAME | SYNOPSIS | DESCRIPTION | RELATED

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=XmToggleButtonGadgetSetState&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help