Re: [wxPython-users] wxGlade and Events. HOW?!
by Eladio Ventura other posts by this author
Apr 15 2003 6:37PM messages near this date
Re: [wxPython-users] wxGlade and Events. HOW?!
|
[wxPython-users] Re: wxGlade and Events. HOW?!
* Eladio Ventura <eladioventura@[...].com> [030415 15:20]:
> That sounds like a fabulous idea, but I'm scratching my head to a
> polished chromedome trying to wrap my peabrain around it. So you would
> keep the wxGlade generated code in say, MyGUI.py and the functions the
> GUI is supposed to execute in say MyAPP.py? Then instantiate MyFrame
> in MyAPP.py or somesuch like in your DemoApp class? The events would
> still go into MyGUI I take it, but where would OnExit() go? If all the
> functions go into into MyGUI.py anyway, then what's the point?
>
> I would simply KILL for an example of this scheme. Any ideas? Or maybe I
> should wait until I have gleaned through demo.py.
Never mind. I'm an idiot. It was just a question of keeping the events
in MyGUI and then import the fancy popup dialogs and stuff from another
file. Easy as pie!
--
"Thinking gives you wrinkles!"
Malibu Stacy, the Simpsons
---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@[...].org
For additional commands, e-mail: wxPython-users-help@lists.wxwindows.org
Thread:
Eladio Ventura
Frank Millman
Chris Munchenberg
Eladio Ventura
Eladio Ventura
Robin Dunn
Chris Munchenberg
Eladio Ventura
Chris Munchenberg
Eladio Ventura
Eladio Ventura
Alberto Griggio
Frank Millman
Robin Dunn
|