[erlang-questions] wxErlang wxCommand type missing?
Fri Sep 26 10:22:56 CEST 2014
Thanks Dan, that's it!
Dan Gudmundsson skrev 2014-09-26 07:12:
> Hej Joakim
> If you take a look at http://docs.wxwidgets.org/2.8.12/wx_wxtoolbar.html
> EVT_TOOL(id, func)Process a wxEVT_COMMAND_TOOL_CLICKED event (a
> synonym for wxEVT_COMMAND_MENU_SELECTED). Pass the id of the tool.
> So command_menu_selected should work..
> I have not find a way to generate this into the documentation, which
> is kind of stupid now that I I think about it. If I get some time I
> will try to do it.
> On Thu, Sep 25, 2014 at 10:44 PM, Joakim Hirsch
> <joakim@REDACTED <mailto:joakim@REDACTED>> wrote:
> Hi everyone,
> I've added a wxToolBar to my gui, but I can't seem to find the
> proper command type to connect to. I've found 2 types that are
> related to toolbars: command_tool_rclicked and command_tool_enter.
> I'm able to receive both, but there doesn't seem to be a type for
> left clicking. My best guess is that it should be named
> command_tool_clicked, but that causes an error when trying to
> connect. Is it missing, or is it called something else and I'm
> just not able to find it?
> erlang-questions mailing list
> erlang-questions@REDACTED <mailto:erlang-questions@REDACTED>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions