Gtk.Container.prototype.foreach
function foreach(callback:Gtk.Callback):void {
// Gjs wrapper for gtk_container_foreach()
}Invokes callback on each non-internal child of container. See Gtk.Container.prototype.forall for details on what constitutes an "internal" child. Most applications should use Gtk.Container.prototype.foreach, rather than Gtk.Container.prototype.forall.
- callback
a callback