Diez B. Roggisch <[EMAIL PROTECTED]> wrote:

> Nick Coghlan wrote:
> > 
> > If this only has to work for classes created for the purpose (rather than
> > for an arbitrary class):
> 
> Certainly a step into the direction I meant - but still missing type
> declarations. And that's what at least I'd like to see - as otherwise you
> don't know what kind of editing widget to use for a property.

Though it may be overkill for your needs, you'll be interested in
Enthought's "Traits", I think; see, for example,
<http://python.fyxm.net/pycon/papers/traits.html>.  Facilitating such
presentation tasks (no doubt including editing) appears to be a major
driving force for Traits.


Alex
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to