[wxPython] How to rebuild a page containing controls because some of them have to be deleted?

From: F. GEIGER (f.geiger_at_vol.at)
Date: 10/29/04


Date: Fri, 29 Oct 2004 20:51:31 +0200

I often use Notebook to structure my GUIs. Sometimes I have to provide a
Settings page. Doing changes in this page influences other pages in such a
way, that some controls have to change add or remove children or even have
to be removed from the page at all.

Yet I could not come up with a solid pattern how to do this. I tried to call
DestroyChildren(), delete all ref's to them, and to set the page's sizer to
None. This doesn't work very well. When I rebuild the page, at least the
arrangement of the controls is not the same as before, which makes me think,
that other things will go wrong in the long run too.

For now I issue a dialog telling the user, that he has to restart the app -
not very professional looking...

So, how is this done best?

Kind regards
Franz GEIGER



Relevant Pages

  • Re: ZA Conceptual Question
    ... > There is plenty you can do with the firewall settings. ... > Program controls will not by themselves control traffic to a server ... > port 80 for example you would have to use the firewall controls to ...
    (comp.security.firewalls)
  • Re: ZA Conceptual Question
    ... There is plenty you can do with the firewall settings. ... The program controls will not by itself open a port for incoming unsolicited ...
    (comp.security.firewalls)
  • Re: ZA Conceptual Question
    ... I set the internet zone firewall to high, ... ZA leaves it to program controls in either case. ... > There is plenty you can do with the firewall settings. ... > port 80 for example you would have to use the firewall controls to ...
    (comp.security.firewalls)
  • Re: ZA Conceptual Question
    ... Go into firewall custom settings. ... ZA leaves it to program controls in either case. ... >> port 80 for example you would have to use the firewall controls to ...
    (comp.security.firewalls)
  • RE: Unwanted taskbar and folders at start up
    ... > change the start up settings to stop these files from loading each time? ... To help stop unauthorized downloads via your activex controls change your ... Kerio Personal Firewall ...
    (microsoft.public.windowsxp.newusers)