Hello wxPython Users,
Please Help - I am trying to create a GUI and attempt to
make it a bit more colorful and pleasing to the eyes by using bitmap as
background for the wxPanel. The problem I encounter is that when I add
the widgets to the panel such as wx.StaticText
, wx.ComboBox and wx.RadioButton,
I couldn’t figure out how to make these widgets to have the background as
their container – wx.Panel.
I have tried to set the wx.StaticText, wx.ComboBox and wx.RadioButton background to SetBackgroundColour(wx.Color(wx.TRANSPARENT))
with the hope that the background of the panel will be seen through, but that
didn’t work.
I have also try to SetBackgroundColour(self.SelPanel.GetBackgroundColour())
that didn’t work either.
Any help or suggestion is greatly appreciated,
My environment:
Window XP professional with SP2
Python 2.5
wxPython 2.8.6.1
Attached is my script.
Thank you VERY VERY MUCH in advance for your helps,
H. Pham
AuiTest_Panels.py (10.4 KB)