dynamic panel destruction
Nathan smith <[email protected]> Mon, 10 Jun 2024 11:24:50 +0100
| Newsgroups | gmane.comp.python.wxpython |
|---|---|
| Message-ID | <[email protected]> |
Hello, So I have a program that I am working on which has the ability to offer=20 the user the chance to mod screens. The process it goes through would be something like: 1: display the loading panel 2: for each user added module, =C2=A02.1: import it =C2=A02.2: Run their screen_mod function with args of self so they can=20 access the class. 3: If success, carry on, but if failure, destroy any panels they created=20 or frames that were made. What I am trying to do here is be able to catch if their mod tracebacks=20 and stop it from crashing the entire program, requiring a restart. Is this possible? The main program would not be returned any modifications made. Thanks in advance for any help Nathan --=20 You received this message because you are subscribed to the Google Groups "= wxPython-users" group. To unsubscribe from this group and stop receiving emails from it, send an e= mail to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/= wxpython-users/7b855b40-e051-4cc0-a27d-4120b5129ddf%40gmail.com.