1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-15 08:54:57 +00:00
serenity/Base/usr/share/man/man5/GML-Widget-Button.md
electrikmilk 58a865f349 Base+Manpages: Add basic GML documentation
First draft of GML documentation, just to get things started.
2022-03-03 14:59:00 -08:00

742 B

Name

Description

Defines a GUI Button widget.

Synopsis

@GUI::Button

Examples

@GUI::Button {
    name: "normal_button"
    text: "Button"
}

@GUI::Button {
    name: "disabled_normal_button"
    text: "Disabled"
    enabled: "false"
}

Registered Properties

Property Type Possible values Description
button_style enum Normal, Coolbar Sets the style of the button
text string Any string Sets the label text
checked bool true or false
checkable bool true or false