Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XmToggBuF(Xm) — OpenDesktop Software Development System 3.0.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought


 XmToggleButtonSetState(Xm)     6 January 1993     XmToggleButtonSetState(Xm)


 Name

    XmToggleButtonSetState - a ToggleButton function that sets or changes the
    current state

 Syntax


    #include <Xm/ToggleB.h>

    void XmToggleButtonSetState (widget, state, notify)
    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 ToggleButton
            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 ToggleButton.  When
            this argument is True and the ToggleButton is a child of a
            RowColumn widget whose XmNradioBehavior is True, setting the Tog-
            gleButton causes other ToggleButton and ToggleButtonGadget chil-
            dren of the RowColumn to be unselected.

    For a complete definition of ToggleButton and its associated resources,
    see XmToggleButton(Xm).

 See also

    XmToggleButton(Xm)


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