Kiwi Label value mapping
Lucas Di Pentima
lucas at di-pentima.com.ar
Mon Oct 29 21:02:51 BRST 2007
2007/10/29, Ali Afshar <aafshar en gmail.com>:
> Well, it's the official Python way of doing it I guess. The automatic
> accessor call is a relic and hopefully will vanish at some point. The
> property is far more explicit, and you can use it in situations where
> kiwi will not automatically call the accessor.
And what about different "visual representations" of the same property
on different Delegates? With custom accessors or properties, we modify
the way some model property looks, but I think that's a View job, why
we have to modify the model for that?
I think that ProxyLabel should have some method to establish "value
mapping" instance wise, just like the replace() method, what do you
think?
Best regards
--
Lucas Di Pentima - http://lucas.di-pentima.com.ar
GnuPG Public Key:
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x6AA54FC9
Key fingerprint = BD3B 08C4 661A 8C3B 1855 740C 8F98 3FCF 6AA5 4FC9
More information about the Kiwi
mailing list