Passing an event handler through a list

Heiko Wundram heikowu at ceosg.de
Sun Oct 24 12:57:29 EDT 2004


Am Sonntag, 24. Oktober 2004 18:20 schrieb StvB:
> In main.py, I add an event handler to a list:
> [snip]
>
> In GUI_Function.py,
> ---------------------
> from   wxPython.wx import *
>
def AddItemsToSizer(self, sizer, panel, evtHandlerList ):
> [snip]

Try this, and read up on parameter passing (and also read up on what 
*evtHandlerList means...

Heiko.



More information about the Python-list mailing list