Exemple #1
0
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
Exemple #2
0
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
Exemple #3
0
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
Exemple #4
0
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