I have my main program window, and I would like to make a foldable panel. What I mean is, a panel which is aligned to one of the sides of the window, with a fold/unfold button. It’s important that when the panel gets folded/unfolded, the other widgets change their size accordingly to take advantage of the space they have.
How do I do this?
Here is one way using wx.SplitterWindow
Also, check out wx.CollapsiblePane in the wxPython demos.