mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-29 04:37:55 +00:00
VisualBuilder: Expose the "name" property on all widgets.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user