WxPython: sizers, panels, frames confusion
Hi
I am pretty new to WxPython, have been playing around with sizers and panels and so far could not grasp how they relate to eachother. You first create a frame, which is the container for the others, but how do panels relate to sizers? Can widgets (like buttons be contained by panels and sizers?) Unfortunately, there is no simple straight forwards explaination what a panel is, what it is good for and for what not. Also, where do you define the size of sizer-cells? From my questions, you might figure that I don't understand "how it all fits together". Cheers Markus |
It is a shame that nobody seems to know. I dug a little more, but still can't figure out how panels relate to sizers and vice versa.
I guess I should write a comprehensive noob tutorial once I have figured it out, since many newbies must get shipwrecked on the highly complicated widgets of WxPython. One thing that also baffles me is why a normal window is called a frame. Yet, there are windows, which seems to be everything and nothing at the same time. Markus |
If you think wxPython is "complicated" you should see other windowing toolkits:
Code:
class UserDiag(wx.Dialog): |
[solved]
Thanks, that helps me already big deal.
Markus |
All times are GMT -5. The time now is 06:59 PM. |