Hello list:
I am trying to refill a container (a VBox in my case), saying that I
want to remove all child from the container and then add some ones
else. Here is my code.

        self.vbox.foreach(lambda widget:self.vbox.remove(widget))
        i=0
        for every in myList:
            frame=gtk.Frame()
            widget=gtk.Label()
            frame.add(widget)
            self.vbox.pack_start(frame)

removing looks works, old children disappeared, but new ones does not
appear... :-(
Is there any method like 'redraw' needed to be call?

Thanks for any help...:-)
_______________________________________________
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to