I have a project in Python 2.7 and wxPython. I have both IDLE and Boa Constructor available as IDEs.
I need to change one or more properties of a GUI object, such as a button, at run time - especially size, location, and text (the latter in buttons and labels).
How do I change these properties at run time? Mind you, I'll be using absolute position with most GUI objects.
Changing the widget's label or value are simple things. You can probably change a widgets location if you are using absolute positioning, but I think that would be counter-intuitive for the user. I know I wouldn't want my Close button to change locations all the time. I think you can set the size using its SetSize() method, but that might require a refresh. It would take you about 10-15 minutes to actually try this yourself.
Change an object's properties at run time?