Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

DwtToggleButtonSetState(3Dwt)

Name

DwtToggleButtonSetState − Sets or changes the current state of the toggle button. 

Syntax

void DwtToggleButtonSetState(widget, value, notify)
     Widget widget;
     Boolean value;
     Boolean notify;

Arguments

widgetSpecifies the widget ID. 

valueSpecifies a boolean value that, when False, indicates the button state is off.  If True, the button state is on.  This argument sets the DwtNvalue attribute associated with DwtToggleButtonCreate. 

notifySpecifies a boolean value that, when True, indicates a recent change in the on/off state of the toggle button and DwtNvalueChangedCallback should be activated with the recent change.  If False, no change in state has occurred and DwtNvalueChangedCallback should not be activated. 

Description

The DwtToggleButtonSetState function sets or changes the toggle button’s current state (value) within the display. 

See Also

DwtToggleButton (3Dwt), DwtToggleButtonGetState (3Dwt)
Guide to the XUI Toolkit: C Language Binding
Guide to the XUI Toolkit Intrinsics: C Language Binding

Subroutines

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