Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/ftk 1/ftk.py~
blob: ccfffc31023748d7219ce25e21fe263d183b6615 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/usr/bin/python

import gtk

class MyApp():
  
	 def __init__(self):
        window = gtk.Window()
        window.set_title('Grabbing keys example.')

        label = gtk.Label()
        label.set_text('Press any key.')
        vbox = gtk.VBox(homogeneous=gtk.FALSE, spacing=0)
       
        window.add(vbox)		
        vbox.add(label)	
        window.show()
        vbox.show()
        label.show()

if __name__ == "__main__":
    my_app = MyApp()
    gtk.main()