mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 15:48:12 +00:00
VisualBuilder: Expose the "name" property on all widgets.
This commit is contained in:
parent
b06d2c04dc
commit
69fea8d41d
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue