


XmToggleButtonGadgetSetState(3X)	     XmToggleButtonGadgetSetState(3X)
OSF/Motif							    OSF/Motif



NAME
  XXmmTToogggglleeBBuuttttoonnGGaaddggeettSSeettSSttaattee - A ToggleButtonGadget 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BGG..hh>>
  vvooiidd XXmmTToogggglleeBBuuttttoonnGGaaddggeettS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nGGaaddggeettSSeettSSttaattee sets or changes the ToggleButtonGadget's
  current state.

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

  _s_t_a_t_e	 Specifies a Boolean value that	indicates whether the ToggleBut-
	 tonGadget 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 ToggleButtonGadget.
	 When this argument is True and	the ToggleButtonGadget 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	Tog-
	 gleButtonGadget causes	other ToggleButton and ToggleButtonGadget
	 children of the RowColumn to be unselected.

  For a	complete definition of ToggleButtonGadget and its associated
  resources, see XXmmTToogggglleeBBuuttttoonnGGaaddggeett((33XX)).

RELATED	INFORMATION
  XXmmTToogggglleeBBuuttttoonnGGaaddggeett((33XX)).






















