Re: [pygtk] How to refill a container?

2008-09-01 Thread nielinjie
show_all works, thanks a lot :-D Alessandro Dentella wrote: On Sun, Aug 31, 2008 at 08:23:19AM -0700, nielinjie wrote: 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

[pygtk] How to refill a container?

2008-08-31 Thread nielinjie
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:

Re: [pygtk] How to refill a container?

2008-08-31 Thread Alessandro Dentella
On Sun, Aug 31, 2008 at 08:23:19AM -0700, nielinjie wrote: 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