April 10th, 2005, 02:31 AM
extending event class in wxpython
Can somebody give me an example on how to extend wxevent(wxpyevent) class in wxpython.
To have my own custom event for my custom widget.
I have a sub-classed wxtreectrl but i want to create an event when a
node is added to my class . But i dont seem to understand how to do
that. I want to create my own NODE_ADDED event which would be handled
by main frame which creates an instance of my treectrl.
Any help would be greatly appreciated , as always
April 11th, 2005, 05:00 AM
The wxPython Wiki looks to have exactly what you want:
Comments on this post