mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-08 17:09:41 +00:00
VisualBuilder: Expose the "name" property on all widgets.
This commit is contained in:
parent
b06d2c04dc
commit
69fea8d41d
|
@ -107,6 +107,8 @@ void VBWidget::add_property(const String& name, Function<GVariant(const GWidget&
|
|||
|
||||
void VBWidget::setup_properties()
|
||||
{
|
||||
VB_ADD_PROPERTY(CObject, "name", name, set_name, string);
|
||||
|
||||
VB_ADD_PROPERTY(GWidget, "width", width, set_width, int);
|
||||
VB_ADD_PROPERTY(GWidget, "height", height, set_height, int);
|
||||
VB_ADD_PROPERTY(GWidget, "x", x, set_x, int);
|
||||
|
|
Loading…
Reference in a new issue