mirror of
https://github.com/RGBCube/serenity
synced 2025-07-24 14:57:35 +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" });
|
{ Gfx::ButtonStyle::Coolbar, "Coolbar" });
|
||||||
|
|
||||||
REGISTER_STRING_PROPERTY("icon", icon, set_icon_from_path);
|
REGISTER_STRING_PROPERTY("icon", icon, set_icon_from_path);
|
||||||
|
REGISTER_BOOL_PROPERTY("default", is_default, set_default);
|
||||||
}
|
}
|
||||||
|
|
||||||
Button::~Button()
|
Button::~Button()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue