Skip to content

gtk overrides: Make GTK4 widgets iterable

GTK4 removed the Gtk.Container interface, and added API on Gtk.Widget to iterate over children instead.

Making Widgets iterable allows to easily loop over the children and check is a widget is a child of an other one.

A new test is also added.

Merge request reports