PDA

View Full Version : [SOLVED] WxPython, Manually trigger event to call function.



cgroza
December 18th, 2010, 11:32 PM
Hello, I am working on a multitabing text editor an I wish to know how do I trigger an event that will call a function manulally.

I have a function that is beign called when the New Tab button is pressed. What I want to do is trigger the event that will call the function without user intervention in the __init__() function.

Thank you.

cgroza
December 19th, 2010, 01:54 AM
I solved the problem, I made a wrapper around it and now it works.