Hi all,

I'm using kiwi's Label class to show read-only attribute values for
some model instances, and I need to show different strings depending
on the attribute's value, for example: if 'gender' attribute's value
for the Person class is -1, then the Label widget should show 'not
specified' in the UI.

I tried the "replace()" method, but that method setup up value mapping
for the entire Label class, I need to be instance-based, how can I do
this? Should I make my own Label's subclass and implement it or
there's any way to do that in kiwi?

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
_______________________________________________
Kiwi mailing list
[email protected]
http://www.async.com.br/mailman/listinfo/kiwi

Reply via email to