【问题标题】:Get bound events for wxwidget?获取 wxwidget 的绑定事件?
【发布时间】:2012-09-20 17:01:57
【问题描述】:

我希望能够确定绑定到特定 wxwidget 事件的所有方法。

我正在动态绑定我的事件。有没有办法确定哪些方法绑定到了我的 wxwidget 可用的每个事件类型,只需要对小部件的引用?

谢谢!

【问题讨论】:

    标签: widget wxpython wxwidgets wxperl


    【解决方案1】:

    根据该线程,wxPython 无法公开该信息:http://www.mentby.com/Group/wxpython-users/where-isare-the-bind-ings-lists-stored.html

    相反,Robin Dunn(wxPython 的作者)建议覆盖 Bind 并以这种方式存储信息,或者改用 PubSub。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2016-05-09
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多