Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

XmToggleButtonGadget(3X)

XmToggleButtonGadgetSetState(3X)  —  Subroutines

OSF

NAME

XmToggleButtonGadgetSetState — a ToggleButtonGadget function that sets or changes the current state.

SYNOPSIS

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

DESCRIPTION

XmToggleButtonGadgetSetState sets or changes the ToggleButtonGadget’s current state. 

widgetSpecifies the ToggleButtonGadget widget ID. 

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

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

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