using Gtk 4.0; Box { visible: bind box2.visible sync-create; } Box box2 {}