[erlang-questions] wxErlang question 4

Steve Davis <>
Tue Jul 11 01:07:39 CEST 2017


Sizers are crazy. A while back I had a decent go at making a hand-written version of wx interfacing directly to the erlang driver and trying to make it sensible as an API like GS. I think it should still work.

The following code was the result of a lot of reading the WxWidgets C++ API docs and translating into what I felt was sensible to get to a single interface module that resembled GS (i.e the module gx.erl).

https://github.com/komone/gx/blob/master/src/ui/gx_ui_sizer.erl <https://github.com/komone/gx/blob/master/src/ui/gx_ui_sizer.erl>

https://github.com/komone/gx/blob/master/src/ui/gx_ui_control.erl <https://github.com/komone/gx/blob/master/src/ui/gx_ui_control.erl>

https://github.com/komone/gx/blob/master/src/ui/gx_ui_button.erl <https://github.com/komone/gx/blob/master/src/ui/gx_ui_button.erl>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20170710/8fd8d675/attachment.html>


More information about the erlang-questions mailing list