Hi,
I need to add some delay function to my code where on clicking the exit button some text needs to be displayed on the text area..
Right now the text is not not appearing coz there s no dealy between 2 events of closing and displaying text.
following is my code for exit and i need to add a pause or delay between two events:
I need to add some delay function to my code where on clicking the exit button some text needs to be displayed on the text area..
Right now the text is not not appearing coz there s no dealy between 2 events of closing and displaying text.
following is my code for exit and i need to add a pause or delay between two events:
Code:
def OnExit(self, event):
# wxGlade: MyFrame.<event_handler>
display2=language_processor.thanks()
self.text_ctrl_2.SetValue(display2)
self.Close()
event.Skip()
Comment