yes i want to clear the images before the next iteration,here is the pseudo
code what i want to do
a = [ ]
for i in range(self.numOne)
a.append([i])
to create an empty array, and append the index i to the array and pass this
index to gtk image,how i can do this in *for-in* statement
0 for i in range (self.numOne)
self.numOne = random.randint(1,10)
for i in range(self.numOne):
self.image = gtk.Image()
self.image.set_from_file("./Pink-Flower-32x32.png")
self.fixed.put(self.image, i*25, 0)
self.image.show()
thanks
_______________________________________________
Tutor maillist - [email protected]
http://mail.python.org/mailman/listinfo/tutor