DecayKnowledgebase
functiongenerated

Ui.set_disabled

Turns a button off (true) or on: a disabled button cannot be pressed, and a stylesheet shows it with :disabled.

Signature

Ui.set_disabled(button: Entity, disabled: bool) -> unit

Member of Ui

Related types

Entity

Source
docs/generated/decay-api.json
Schema
v1
Engine version
0.1.0
Source commit
909aca81368b