On Oct 24, 2010, at 6:40 PM, OKB (not okblacke) wrote:
> That is, I'd like to pass the extra variables at construct time, so my
> widget can use them when constructing its UI. Is anything like this
> available, or does __init__ have to be overridden for every case?
That's only possible with properties. You will either have to override
__init__() if the attributes absolutely must be available during instantiation;
otherwise, you could simply do:
obj = dabo.Whatever()
obj.foo = "bar"
etc.
-- Ed Leafe
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message:
http://leafe.com/archives/byMID/[email protected]