Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

XmToggleButton(3XM)

XmToggleButtonSetState(3XM)  —  NEWS-OS Programmer’s Manual

NAME

XmToggleButtonSetState — a ToggleButton function that sets or changes the current state. 

SYNOPSIS

#include <Xm/ToggleB.h> void XmToggleButtonSetState (widget, state, notify)
Widgetwidget;
Booleanstate;
Booleannotify;

DESCRIPTION

XmToggleButtonSetState sets or changes the ToggleButton’s current state. 

widgetSpecifies the ToggleButton widget ID. 

stateSpecifies 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. 

notifyIndicates whether XmNvalueChangedCallback is called; it can be either True or False.  When this argument is True and the ToggleButton is a child of a RowColumn widget whose XmNradioBehavior is True, selecting 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 XmToggleButton(3XM). 

RELATED INFORMATION

XmToggleButton(3XM). 

NEWS-OSRelease 4.2.1R

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