import wx
# create window
app = wx.App()
win = wx.Frame(None, title = "Simple Editor", size = (410, 335))
win.Show()
# create buttons
loadButton = wx.Button(win, label = 'Open',
pos = (225, 5), size = (80, 25))
saveButton = wx.Button(win, label = 'Save',
pos = (315, 5), size = (80, 25))
fileName = wx.TextCtrl(win, pos = (5, 5), size = (210, 25))
contents = wx.TextCtrl(win, pos = (5, 35), size = (390, 260),
style = wx.TE_MULTILINE | wx.HSCROLL)
app.MainLoop()
In the program above, is the 'win' argument telling the Button and TextCtrl classes that they inherit from the Frame class? If not, what are they, what do they, and how do they work? Thanks.