Hi,
I want a simple construction, a paintDC or a clientDC on the top, and below a panel with a button an some text
(as in https://www.dropbox.com/s/r5cwtciyzukqz94/layout.jpg)
But the *DC’s doesn’t work together with a sizer (to place it all in the order)
I’ve seen many examples showing a certain control/frame/window etc. but what
ist the general advice to contruct such a plot DC with some button or textcontrols,
(how) does it work with 2 nested box sizers?
grretings 3.14, seems like you are new here, so I’ll give you a helping hand.
1st, your example didn’t seem to make much sense, let alone run, and by what you posted didn’t make much sense either when looking at the code.
Frames and panels are separate “widgets”. Seems like you still need some more basic training.
Check out the wxPython Demo for simple examples you can use/snipp code into your own code and also learn from.
Here is a skeleton app(attachment) based off the pic you linked to.
Hope this helps you get an idea of how things work.