Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XmToggleButtonGadgetSetState(3X)SFmToggleButtonGadgetSetState(3X) — DG/UX 5.4.2A

Media Vault

Software Library

Restoration Projects

Artifacts Sought



     XmToggleButtonGadgetSetState(3XOSXmToggleButtonGadgetSetState(3X)



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

     SYNOPSIS
          #include <Xm/ToggleBG.h>

          void XmToggleButtonGadgetSetState (widget, state, notify)
               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
                 ToggleButtonGadget state is selected or unselected.
                 If True, the button state is selected; if 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 ToggleButtonGadget.
                 When this argument is True and the ToggleButtonGadget
                 is a child of a RowColumn widget whose
                 XmNradioBehavior is True, setting the
                 ToggleButtonGadget causes other ToggleButton and
                 ToggleButtonGadget children of the RowColumn to be
                 unselected.


          For a complete definition of ToggleButtonGadget and its
          associated resources, see XmToggleButtonGadget(3X).

     RELATED INFORMATION
          XmToggleButtonGadget(3X).













     1                                                (printed 6/8/92)



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026