mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:48:11 +00:00
LibGUI: Expose GUI::Button's "default" property to GML
This commit is contained in:
parent
9fad80c34c
commit
d18c25e973
1 changed files with 1 additions and 0 deletions
|
@ -43,6 +43,7 @@ Button::Button(String text)
|
|||
{ Gfx::ButtonStyle::Coolbar, "Coolbar" });
|
||||
|
||||
REGISTER_STRING_PROPERTY("icon", icon, set_icon_from_path);
|
||||
REGISTER_BOOL_PROPERTY("default", is_default, set_default);
|
||||
}
|
||||
|
||||
Button::~Button()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue