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.py16
1 files changed, 14 insertions, 2 deletions
diff --git a/ftk 1/ftk.py b/ftk 1/ftk.py
index 3dc76f6..ac45a74 100644
--- a/ftk 1/ftk.py
+++ b/ftk 1/ftk.py
@@ -4,6 +4,10 @@ import gtk
class MyApp():
def __init__(self):
+
+ img=gtk.Image()
+ img.set_from_file('../olpc.png')
+
window = gtk.Window()
window.set_title('Find the key')
@@ -13,9 +17,15 @@ class MyApp():
vboxLeft = gtk.HBox()
vboxRight = gtk.HBox()
+ #creacion de imagenes en la grilla
+ self.table = gtk.Table(rows=1, columns=1, homogeneous="FALSE")
+ self.table.add(img)
+
+
####
#Elementos del contenedor derecho(RIGHT)
- table = gtk.Table(rows=1, columns=1, homogeneous="FALSE")
+
+
####
@@ -61,8 +71,10 @@ class MyApp():
vboxTextUser.add(textAreaUser)
#Add de widgets vbox right
- vboxRight.add(table)
+ vboxRight.add(self.table)
######
+
+
window.show_all()