Q: wrappers push/pull and models

"Samuele Pedroni" <[email protected]>
Newsgroups gmane.comp.python.anygui.devel
Message-ID <005501c259d5$29acece0$6d94fea9@newmexico>
Hi.

Are models already supported by current design vs. implementation?

Checking the pull/push counts I noticed that e.g.

comp.visible = 1

(if the widget is there) will first pull visible and then push the new value.

The pull visible logic seems there to deal with models (Attrib.rawSet). It
seems (me skimming the code) that models will be pushed down to wrappers and be
expected to be returned form wrappers by pull. Are really wrappers expected to
be able to deal with models vs. plain values? Or should models be dealt and
live only at the proxy level, with push and pull with/from wrappers only
dealing with values and eager changes being managed through events?

Thanks.



-------------------------------------------------------
In remembrance
www.osdn.com/911/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.