Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/ftk 1/ftk.py
blob: c84ee2cc0d19f69360340e7b95eba8f52deb9038 (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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#!/usr/bin/python

import gtk

class MyApp():
    def __init__(self):
      window = gtk.Window()
      window.set_title('Find the key')
      
      #Creacion de etiquetas para identificacion (Temporal 18/1)
      label = gtk.Label()
      label.set_text('Izq.')
      
      #Creacion de un contenedor madre que contiene a dos contenedores hijos
      # derecha e izq
      vboxMother = gtk.HBox()
      vboxLeft = gtk.HBox()
      vboxRight = gtk.HBox()
      
      ####
      #Elementos del contenedor derecho(RIGHT)
      table = gtk.Table(rows=1, columns=1, homogeneous="FALSE")
      
      ####
      
      #Add de widgets 
      window.add(vboxMother)	
      vboxMother.add(vboxLeft)  
      vboxMother.add(vboxRight)	
      vboxLeft.add(label)
      vboxRight.add(table)
      	
      window.show_all()
     

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