wxPython: Default Frame button?
Miki Tebeka
tebeka at cs.bgu.ac.il
Mon Aug 4 09:22:32 EDT 2003
Hello Cliff,
> In general, the only child of a frame should be a panel or some other
> container (like a splitter). Frames should generally only have one
> child. Make the button a child of the panel rather than a sibling.
10x. Works like a charm.
>class F(wx.Frame):
> def __init__(self):
> wx.Frame.__init__(self, None, -1, "Test Frame")
> panel = P(self)
> self.Fit()
Is there a default frame that does the above?
Miki.
More information about the Python-list
mailing list