예제 #1
0
 def on_button_new_clicked(self, widget, data=None):
     opener = SetprojectionDialog()
     result = opener.run()
     #close the dialog, and check whether to proceed
     opener.destroy()
     if result != Gtk.ResponseType.OK:
         return 
예제 #2
0
 def on_button_new_clicked(self, widget, data=None):
     opener = SetprojectionDialog()
     result = opener.run()
     #close the dialog, and check whether to proceed
     opener.destroy()
     if result != Gtk.ResponseType.OK:
         return
예제 #3
0
    def on_mnu_set_activate(self, widget, data=None):
        setter = SetprojectionDialog()
        result = setter.run() 

        #close the dialog, and check whether to proceed        
        setter.destroy()
        if result != Gtk.ResponseType.OK:
            return