How to pass argument to handler?

http://wiki.wxpython.org/Passing_Arguments_to_Callbacks

···

On 8/11/12 8:47 PM, Mark Budde wrote:

Please go easy on me, I'm pretty new to programming.

I used a loop to generate a bunch of text boxes, so the user can edit attributes of a dictionary. I figured that I would pass an argument to the handler, specify the origin of the text box, but when I do that, it overrides the event. Is there a way to pass both the event and an extra argument to the handler? Alternatively, is there a more standard way of accomplishing this?

--
Robin Dunn
Software Craftsman