PushButton

Description

abstract class Tinman.Engine.GUI.Components.PushButton

Derived from

Component abstract

Extended by

ClickButton sealed
SwitchButton sealed

Abstract base class for components that behave like a pushbutton (on/off).

Public / Attributes

Pressed


public attribute Pressed → (get,set)

value : bool

true if the pushbutton is pressed, false if not.

Is this pushbutton currently pressed?

Protected / Constructors

Push​Button


protected constructor PushButton → (1)

pressed opt : bool = false

Initial state of Pressed property.

Creates a new instance of PushButton.

Protected / Methods

Pressed​Changed


[EmptyBody]
protected virtual method PressedChanged → ()

This method is called each time the value of Pressed has changed.