[erlang-questions] program: wxWidgets for erlang (again)
Fri Dec 21 16:33:17 CET 2007
Thank you for the response. I should have looked at the test directory
but for some reason it completely escaped me. I have it going now. I
think it was not using werl and misusing the API that were my
fundamental errors. I have used wxPython a couple of years ago, I need
to get back up to speed with a new binding. I will let you know how
On Fri, 2007-12-21 at 12:09 +0100, Dan Gudmundsson wrote:
> Bob Cowdery wrote:
> > Dan
> > This looks really good. I have quite a large Swing GUI that I would like
> > to convert. I wonder are there any getting started guides. I did find a
> > PDF but it was for an earlier version as the API was completely
> > different. I'm running XP and have it all loaded except I'm clearly
> > doing something (or many things) wrong. At the moment I can't get as far
> > showing a frame! If I do something like.
> > wx:new().
> > F = wxFrame:new().
> > wxFrame:show(F).
> > It throws an invalid argument exception. I tried various other things
> > but just got different results. Any help in getting off the ground
> > appreciated.
> I don't have any more documentation or tutorials then what is in
> package, but the test programs and demos (erltop and xrc) should get
> you started. And they should work at least start, they are demos so not
> everything is implemented. Ok the opengl tests may crash depending on
> drivers, i.e. when running several windows they crash on my win2000
> laptop. But that's life with 3D rendering I guess.
> Otherwise you will have read documentation and or tutorials from
> The tutorials should be easy to convert from C++ to erlang, I've tried
> to describe the erlang mapping on the overview page in the docs dir.
> or here http://www.erlang.org/~dgud/wxerlang/doc/index.html
> I don't know that much about wxwidgets I know the erlang binding but not
> wxwidgets, I guess that comes with experience, their documentation isn't
> the best either.
> > The other thing I noticed is that after starting 'erl -smp' it no longer
> > shuts down cleanly with Ctrl'C' but brings up a debug window.
> Thanks, I'll try to reproduce it.
> > Thanks
> > Bob
> > On Thu, 2007-12-20 at 16:33 +0100, Dan Gudmundsson wrote:
> >> Hi
> >> I've made a new beta release: see wxerlang.sf.net
> >> It requires R12B and wxWidgets-2.8.
> >> (which is statically linked in the pre-built version for mac and windows)
> >> Windows is now working, Solaris-10, Mac and Linux is also working!!
> >> I've added support for xrc and a demo, which is wxwidgets support for
> >> gui-builders, are you happy now Mats?
> >> You still have write some code though, I haven't written an erlang code
> >> generator yet :-)
> >> Hopefully this release is more stable, I haven't added so much new
> >> functionality. At least the previous reported bug is fixed (in the
> >> emulator).
> >> Feedback and/or patches are appreciated. I had a hundred downloads of
> >> the previous release. So tell me if worked or was complete trash what do
> >> you think about the api-mapping.
> >> /Dan
> >> _______________________________________________
> >> erlang-questions mailing list
> >> erlang-questions@REDACTED
> >> http://www.erlang.org/mailman/listinfo/erlang-questions
More information about the erlang-questions