Can a frame be a child of any frame?If then how
import wx
class testFrame(wx.Frame):
def __init__(self, parent, id):
wx.Frame.__init__(self, parent, id)
f = wx.Frame(self, -1)
f.Show()
app = wx.App()
f = testFrame(None, -1)
f.Show()
app.MainLoop()
In this case f is an instance of a wx.Frame class and has as parent testFrame (self).
So that makes f (a frame) the child of testFrame (an other frame)
ยทยทยท
Op 3-okt-09, om 12:11 heeft nipun batra het volgende geschreven:
Can a frame be a child of any frame?If then how