self.Bind,self.Widget.Bind和self.EVT_EVTNAME.Bind之间的区别

时间:2015-06-30 07:29:08

标签: wxpython

wxpython中的示例使用self.Bind。但是这个example使用了self.Widget.Bind变体。 wx.EVT_EVTNAME也有方法Bind。三种事件绑定方法之间的优缺点是什么?

1 个答案:

答案 0 :(得分:0)

The wxPython wiki explains the difference between self.Bind and self.widget.Bind. The 3rd method that you mention is extremely old and not recommended. I believe it comes from wxWidgets land.