WXPython WX.Window Connect Beispiel
1 class MainWindow(wx.Frame):
2 def __init__(self, parent, title):
3 wx.Frame.__init__(self,parent, title=title, size=(200,100))
4 ...
5 menuItem = filemenu.Append(wx.ID_ABOUT, "&About"," Information about this program")
6 self.Bind(wx.EVT_MENU, self.OnAbout, menuItem)
Lovely Louse