If you're going to have a structure on the client side for widgets anyway, might as well store member functions in there even in cli_c. Store the standard set, get, writeto, etc. functions so you could define new types of widgets on the client side, plus have the event handler defined in there.
On Sat, Aug 31, 2002 at 11:26:27AM -0300, Lalo Martins wrote: > On Sat, Aug 31, 2002 at 04:07:34AM -0600, Micah Dowty wrote: > > > > To fully support multiple servers, there will need to be a server parameter > > passed to each function. Alternatively, there could be a state machine like > > in OpenGL? > > Idea from cli_python: > > if you're ditching PGDEFAULT, then you'll have to have a widget parameter in > each and every call. Instead of this being the handle, it could be a struct > that, in cli_c2, has a pointer to the server, the handle, and any other > information the author of cli_c2 deems necessary. In cli_c++ of course this > would be a class that has these data and the widget methods. > > []s, > |alo > +---- > -- > Those who trade freedom for security > lose both and deserve neither. > -- > http://www.laranja.org/ mailto:[EMAIL PROTECTED] > pgp key: http://www.laranja.org/pessoal/pgp > > Eu jogo RPG! (I play RPG) http://www.eujogorpg.com.br/ > Python Foundry Guide http://www.sf.net/foundry/python-foundry/ > > > ------------------------------------------------------- > This sf.net email is sponsored by: OSDN - Tired of that same old > cell phone? Get a new here for FREE! > https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 > _______________________________________________ > Pgui-devel mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/pgui-devel -- Only you can prevent creeping featurism! ------------------------------------------------------- This sf.net email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 _______________________________________________ Pgui-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/pgui-devel
