On Mon, Apr 11, 2005 at 12:08:52PM -0400, John Ehresman wrote:
> Christian Robottom Reis wrote:
> >On Mon, Apr 11, 2005 at 04:39:19PM +0100, John Gill wrote:
> >
> >>  What I've really wanted from glade for some time is the ability to build
> >>  frames, rather than top level windows.  What I want to be able to do us
> >>  use gazpacho to build components that I can re-use across my GUI's.   
> >>  I'd
> >>  like components that can either be top level windows or frames within 
> >>  some
> >>  other window.
> >
> >This is Kiwi used to do, what Kiwi2 does, and what Gustavo and Lorenzo
> >have been working on this last week to improve upon. 
> 
> I think it would be nice to be able to design custom widgets in 
> Gazpacho, attach them to Python subclasses of gtk.Widget, and then to be 
> able to use them in other Gazpacho UI's.  It's unclear from my quick 
> reading of the Kiwi documentation if the widget can appear multiple 
> times in a parent gtk.Container since it says that it depends on 
> reparenting the gtk widget.

Well, the first use case is already supported in Gazpacho; for instance,
Lorenzo while here at Async implemented a plugin for Kiwi widgets that
we use in our current framework. The plugin hooks into the gazpacho
loader and selects the correct instance in runtime. libglade support for
this still needs to be specified and designed, though Johan does have it
on his radar.

The more complex use case (composing a domain-specific -- as opposed to
interaction-specific -- interface with multiple widgets and reusing that
as necessary) is supported via Kiwi's attach_slave() API. There is no
Gazpacho UI for supporting this today (and nor have I imagined how such
UI would look like) but it couldbe proposed.

Take care,
--
Christian Robottom Reis | http://async.com.br/~kiko/ | [+55 16] 3361 2331
_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to