On Oct 18, 2010, at 4:27 PM, Steve McClure wrote: > Oops, sorry, I was wrong. I was connecting to a different web service than I > thought so the data was different.
I think I get it now. I'm iterating over the contents and removing them, thus changing the contents midstream. > > On Oct 18, 2010, at 3:32 PM, Steve McClure wrote: > >> Does this work? I tried this where self.servers is a Column of Buttons: >> >> # get rid the old servers >> for server in self.servers.contents: >> #print 'deleting server:',server >> self.servers.remove(server) >> >> for server in servers: >> #print 'adding server:',server >> b = Button(title=server, >> action=(self.show_details,'server',server)) >> self.servers.add(b) >> >> But the windows doesn't get updated. >> >> I've done quite a bit of Motif and PyGTK programing but this is my first cut >> at PyGUI. I'm on OS X Snow Leopard if that makes any difference. >> >> Thanks for any pointers, >> Steve >> -- >> Steve McClure >> [email protected] >> >> _______________________________________________ >> Pygui mailing list >> [email protected] >> http://mail.python.org/mailman/listinfo/pygui > > -- > Steve McClure > [email protected] > -- Steve McClure [email protected] _______________________________________________ Pygui mailing list [email protected] http://mail.python.org/mailman/listinfo/pygui
