Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcos <dadinirt.socram@gmail.com>2013-01-18 20:48:11 (GMT)
committer Marcos <dadinirt.socram@gmail.com>2013-01-18 20:48:11 (GMT)
commitbdab46bb329d1c05c9bfb5f65252258a6bca89b9 (patch)
tree80ef87ba1e70bc9d98a78028ca02e67efec9d85e
parent8699c97b78773c19381584b42d7847c070bae934 (diff)
ftk 1/
-rw-r--r--ftk 1/ftk.py55
1 files changed, 46 insertions, 9 deletions
diff --git a/ftk 1/ftk.py b/ftk 1/ftk.py
index c84ee2c..3dc76f6 100644
--- a/ftk 1/ftk.py
+++ b/ftk 1/ftk.py
@@ -7,12 +7,8 @@ class MyApp():
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
+ #Creacion de un contenedor madre que contiene a dos contenedores
+ #hijos derecha e izq
vboxMother = gtk.HBox()
vboxLeft = gtk.HBox()
vboxRight = gtk.HBox()
@@ -23,15 +19,56 @@ class MyApp():
####
+ ####
+ #Elementos del contenedor Izquierdo(Left)
+
+ vboxLabelProgram = gtk.VBox()
+ vboxLabelUser = gtk.VBox()
+ vboxTextProgram = gtk.VBox()
+ vboxTextUser = gtk.VBox()
+
+ labelProgram = gtk.Label()
+ labelProgram.set_text('Programa:')
+
+ labelUser = gtk.Label()
+ labelUser.set_text('Usuario:')
+
+ textAreaProgram = gtk.Entry()
+ textAreaProgram.set_text(" Prueba Program")
+ textAreaUser = gtk.Entry()
+ textAreaUser.set_text(" Prueba User")
+
+ ####
+
+ ######
#Add de widgets
window.add(vboxMother)
vboxMother.add(vboxLeft)
- vboxMother.add(vboxRight)
- vboxLeft.add(label)
+ vboxMother.add(vboxRight)
+
+ #Add de widgets vbox left
+ vboxLeft.add(vboxLabelProgram)
+ vboxLeft.add(vboxTextProgram)
+ vboxLeft.add(vboxLabelUser)
+ vboxLeft.add(vboxTextUser)
+
+ #Add de widgets vbox left Label
+ vboxLabelProgram.add(labelProgram)
+ vboxLabelUser.add(labelUser)
+
+ #Add de widgets vbox left TextArea
+ vboxTextProgram.add(textAreaProgram)
+ vboxTextUser.add(textAreaUser)
+
+ #Add de widgets vbox right
vboxRight.add(table)
+ ######
window.show_all()
-
+
+ def destroy(self, window, data=None):
+ gtk.main_quit()
+
if __name__ == "__main__":
my_app = MyApp()