def main(): print "Enter 1 for pyGObject\nEnter 2 for pyfltk\nEnter 3 for Tkinter" value = raw_input("-->"); value = int(value) if( value == 1 ): MyWindow = FirstWindow() elif( value == 2): MyWindow = ex1() elif( value == 3 ): import Assign1_P2010CS1022
def main(): print "Enter 1 for pyGObject\nEnter 2 for pyfltk\nEnter 3 for Tkinter" value = raw_input("-->") value = int(value) if (value == 1): MyWindow = FirstWindow() elif (value == 2): MyWindow = ex1() elif (value == 3): import Assign1_P2010CS1022
def main(): print "Enter 1 for pyGObject\nEnter 2 for pyfltk\nEnter 3 for Tkinter" value = raw_input("-->"); value = int(value) if( value == 1 ): MyWindow = FirstWindow() MyWindow.connect("delete-event", Gtk.main_quit) MyWindow.show_all() Gtk.main() elif( value == 2): MyWindow = ex1() elif( value == 3 ): import Assign1_P2010CS1022
def main(): print "Enter 1 for pyGObject\nEnter 2 for pyfltk\nEnter 3 for Tkinter" value = raw_input("-->") value = int(value) if (value == 1): MyWindow = FirstWindow() MyWindow.connect("delete-event", Gtk.main_quit) MyWindow.show_all() Gtk.main() elif (value == 2): MyWindow = ex1() elif (value == 3): import Assign1_P2010CS1022