DC panel and subpanel

P

python

I’m trying to test a system of created one main panel that will house the
wx.DC that will pass that DC to all the attached items and then they will
draw on that DC. With this system you should be able to attach a sub-panel
to it along with any items to that sub-panel as well so that you can have
objects move around.

I basically trying to figure out a good way to build and manage complex
alpha based interfaces by drawing all the items to the main DC by getting
pos and size from other items that are attached to the panel.

I’ve got most of it working… as you can see from the attached py script,
but some reason, that is a mystery to me, when you scale the window up.
the item2(“sub”) is getting blocked by a white box. I’m not sure where
this box is coming from and not really sure how to get rid of it.

I’m fairly new to python and even newer to wxPython, if I’m going around
my head to scratch my @$$ here please tell me… if there is a simpler way
then please let me know…

Thanks in advanced

-Keith
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,292
Messages
2,571,494
Members
48,183
Latest member
GarfieldBa

Latest Threads

Top