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) -> unitMember of Ui
Related types
- Source
- docs/generated/decay-api.json
- Schema
- v1
- Engine version
- 0.1.0
- Source commit
909aca81368b