GearBlocks
The GearBlocks Lua scripting API
Properties | Events | List of all members
SmashHammer.UI.IToggle Interface Reference

Provides access to a UI toggle's properties. More...

Inheritance diagram for SmashHammer.UI.IToggle:
SmashHammer.UI.LabelledToggle SmashHammer.UI.Toggle

Properties

bool Value [get, set]
 The toggle value.
 

Events

ValueChangedHandler OnChanged
 Event that is raised when the toggle value is changed.
 

Detailed Description

Provides access to a UI toggle's properties.

Property Documentation

◆ Value

bool SmashHammer.UI.IToggle.Value
getset

The toggle value.

true if this toggle is checked; otherwise, false.

Implemented in SmashHammer.UI.LabelledToggle, and SmashHammer.UI.Toggle.