It starts with a simple Erlang module that runs in the shell. I walk through creating the window, adding wxwidgets, creating monitors to listen to user activity, and building a loop function that connects the window to the Erlang code.

It starts with a simple Erlang module that runs in the shell. I walk through creating the window, adding wxwidgets, creating monitors to listen to user activity, and building a loop function that connects the window to the Erlang code.

−

Click here: [http://wxerlang.dougedmunds.com| wxerlang workups] or here http://wxerlang.dougedmunds.com to go to the site.

+

There is a commented wx_object behaviour.

−

If you have feedback, please register and post it on the forum on the site.

+

There are examples of using device contexts to draw graphics.

+

+

Click here: http://wxerlang.dougedmunds.com to go to the site.

[[Category:HowTo]]

[[Category:HowTo]]

Revision as of 04:27, 29 June 2010

Author

Doug Edmunds

wxErlang Tutorial

I have written a beginner's tutorial on the wx module.

It starts with a simple Erlang module that runs in the shell. I walk through creating the window, adding wxwidgets, creating monitors to listen to user activity, and building a loop function that connects the window to the Erlang code.