예제 #1
0
 def close(self, info, is_ok=True):
     ## This happens when you click on the top right cross
     confirmation = message(message='Are you sure to close the window?',
                            title='Warning!',buttons=['OK','Cancel'])
     if confirmation is True:
         return True
     else:
         return False
예제 #2
0
 def _fire_event_fired():
     message("Button clicked!")
예제 #3
0
 def _button_clicked_message(self, event):
     message("Button clicked!")