Hi-
I've created a Panel object to sit at the bottom as a sort of additional button bar and I would like to place buttons upon it is it possible to set layers to allow the buttons to sit upon the panel object?
Thanks
dom
Hi-
I've created a Panel object to sit at the bottom as a sort of additional button bar and I would like to place buttons upon it is it possible to set layers to allow the buttons to sit upon the panel object?
Thanks
dom
I've created a Panel object to sit at the bottom as a sort of additional
button bar and I would like to place buttons upon it is it possible to set
layers to allow the buttons to sit upon the panel object?Thanks
dom
Just make each button's parent be your panel. Like:
self.myPanel = wx.Panel(id=-1, name='panel1', parent=self,
pos=wx.Point(0, 0), size=wx.Size(396, 455))
self.button1 = wx.Button(id=-1, label='button1',name='button1',
parent=self.myPanel, pos=wx.Point(120, 72),
size=wx.Size(75, 23), style=0)
You might want to read through the wiki and tutorials:
http://wiki.wxpython.org/
And don't forget the wxPython demo, available via download.
Good luck,
Che