[wxPython-users] Newbie content management questions
Christopher Barker
Chris.Barker at noaa.gov
Wed Oct 25 12:06:58 PDT 2006
Bob Klahn wrote:
> Ah, that's the basic fact I was missing. This revised code works:
you got it.
Just a note: if you are going to put any other controls on ChildWindow,
you'll probably want to use wx.Panel, rather than wx.Window.
> class ChildWindow(wx.Window):
> def __init__(self, parent, id):
> wx.Window.__init__(self, parent, -1, size=(300,300))
> self.SetBackgroundColour(wx.BLUE)
--
Christopher Barker, Ph.D.
Oceanographer
NOAA/OR&R/HAZMAT (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Chris.Barker at noaa.gov
More information about the wxpython-users
mailing list