Re: wxPython, dynamically modify window

2006-12-12 Thread cmcp
Grant wrote: > Hi, I am looking for a tip. I have a panel and a checkbox. When I > check the checkbox, I would like to add buttons to the panel > (dynamically). When the checkbox is unchecked, the buttons should not > appear (be deleted)---all the while, the window should resize if necessary. >

RE: wxPython, dynamically modify window

2006-12-12 Thread Bell, Kevin
I think that you'll just need to change the frame size property when you hit your checkbox... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Grant Sent: Tuesday, December 12, 2006 12:02 AM To: python-list@python.org Subject: wxPython, dynami

wxPython, dynamically modify window

2006-12-11 Thread Grant
Hi, I am looking for a tip. I have a panel and a checkbox. When I check the checkbox, I would like to add buttons to the panel (dynamically). When the checkbox is unchecked, the buttons should not appear (be deleted)---all the while, the window should resize if necessary. If you have a simpl