Skip to content Skip to sidebar Skip to footer

Adding A Widget With A Button - Wxpython

I'm trying to create something like the categories panel in Wordpress, with wxPython. What I'm trying to figure out, is how to add a widget when the user clicks a button (like 'Add

Solution 1:

Call self.panel.Layout() after adding the button. This function is called automatically when you resize a window with children (try it with your current code), but not when you add widgets to it.


Post a Comment for "Adding A Widget With A Button - Wxpython"