From: Its Me Date: 2004-04-08T06:14:18+09:00 Subject: Re: Idea: Simplified GTK > Interesting idea. Adding with_context would make it a bit not-so-Ez-Gtk .... unless we named it ... style? or ... with? with (bindings) { ...} > As for :parent in with_context - I believe it'd flow better if it was automatically placed in the current context parent, like my @storefunc earlier. > > And if one doesn't exist - well, it returns itself, so you can then add it as per normal The same approach works with "with_context". If a binding for :parent is not found, simply skip the add_child bit (with the current with_context code this would need a catch()). So I prefer to use a uniform technique.