單就argument mapping而論:
Tkinter要對每個傳入的arg做mapping。
self.listboxAlbumList.bind('
wxPython則只需要告知有傳入arg即可,不需要一一mapping。
self.Bind(wx.EVT_BUTTON, lambda a: self.OnCloseMe(a, 'aa', 'bb'), button)
Search Google
Tuesday, March 18, 2008
在wxPython與Tkinter中bind lambda callback的差異
Subscribe to:
Post Comments (Atom)
1 comment:
Great post thannk you
Post a Comment