Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/ftk 1/ftk.py
diff options
context:
space:
mode:
Diffstat (limited to 'ftk 1/ftk.py')
-rw-r--r--ftk 1/ftk.py39
1 files changed, 39 insertions, 0 deletions
diff --git a/ftk 1/ftk.py b/ftk 1/ftk.py
new file mode 100644
index 0000000..c84ee2c
--- /dev/null
+++ b/ftk 1/ftk.py
@@ -0,0 +1,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()
+