SwitchButton

Description

sealed class Tinman.Engine.GUI.Components.SwitchButton

Derived from

PushButton abstract
ITextProperty

A checkbox style input component.

The following default layout settings are defined for new SwitchButton objects:

Public / Constants

Class


public static readonly attribute Class → (StyleClass)

The style class for SwitchButton.

Public / Constructors

Switch​Button


public constructor SwitchButton → (3)

text opt : string = null

The label text.

pressed opt : bool = false

The initial checked state.

action opt : InputClick = default(InputClick)

The initial action hotkey.

Creates a new instance of SwitchButton.