


XmToggleButtonSetState(3X)			   XmToggleButtonSetState(3X)
OSF/Motif							    OSF/Motif



NAME
  XXmmTToogggglleeBBuuttttoonnSSeettSSttaattee - A ToggleButton function that	sets or	changes	the
  current state

SYNOPSIS


  ##iinncclluuddee <<XXmm//TToogggglleeBB..hh>>
  vvooiidd XXmmTToogggglleeBBuuttttoonnSSeettSSttaattee ((_w_i_d_g_e_t, _s_t_a_t_e, _n_o_t_i_f_y))
       WWiiddggeett	 _w_i_d_g_e_t;;
       BBoooolleeaann	 _s_t_a_t_e;;
       BBoooolleeaann	 _n_o_t_i_f_y;;

DESCRIPTION
  XXmmTToogggglleeBBuuttttoonnSSeettSSttaattee sets or changes the ToggleButton's current state.

  _w_i_d_g_e_t Specifies the ToggleButton widget ID.

  _s_t_a_t_e	 Specifies a Boolean value that	indicates whether the ToggleButton
	 state is selected or unselected.  If True, the	button state is
	 selected; if False, the button	state is unselected.

  _n_o_t_i_f_y Indicates whether XXmmNNvvaalluueeCChhaannggeeddCCaallllbbaacckk is called; it can be
	 either	True or	False.	The XXmmNNvvaalluueeCChhaannggeeddCCaallllbbaacckk is only called
	 when this function changes the	state of the ToggleButton.  When this
	 argument is True and the ToggleButton is a child of a RowColumn
	 widget	whose XXmmNNrraaddiiooBBeehhaavviioorr is True,	setting	the ToggleButton
	 causes	other ToggleButton and ToggleButtonGadget children of the
	 RowColumn to be unselected.

  For a	complete definition of ToggleButton and	its associated resources, see
  XXmmTToogggglleeBBuuttttoonn((33XX)).

RELATED	INFORMATION
  XXmmTToogggglleeBBuuttttoonn((33XX)).























