summaryrefslogtreecommitdiff
path: root/docs/ags/first-widgets.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/ags/first-widgets.md')
-rw-r--r--docs/ags/first-widgets.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ags/first-widgets.md b/docs/ags/first-widgets.md
index f098586..1b18109 100644
--- a/docs/ags/first-widgets.md
+++ b/docs/ags/first-widgets.md
@@ -350,7 +350,7 @@ return <box>
```
:::warning
-Only bind children of the `box` widget. Gtk does not cleanup widgets by default,
+Only bind children of the `box` or the `stack` widget. Gtk does not cleanup widgets by default,
they have to be explicitly destroyed. The box widget is a special container that
will implicitly call `.destroy()` on its removed child widgets.
You can disable this behavior by setting the `noImplicityDestroy` property.