[erlang-questions] wxErlang wxCommand type missing?

Dan Gudmundsson dangud@REDACTED
Fri Sep 26 07:12:31 CEST 2014


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.

/Dan


On Thu, Sep 25, 2014 at 10:44 PM, Joakim Hirsch <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?
>
> Regards,
> Joakim
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20140926/ea7e0d78/attachment.htm>


More information about the erlang-questions mailing list