Makoto Hamanaka | 19 Jul 23:43

[ANN] patch for wxGlade, to generate GUI code for (wx)Lua

Hi,

I was looking for some GUI builder for wxLua and I found wxGlade, but it lacks
GUI code generation for Lua. And I looked into the source code of wxGlade
and found that it looks not so difficult to add this functionality.

So, here is a preview patch for wxGlade-0.6.3 and some description.

http://hammm.dw.land.to/lua/wxglade_lua.html

Features :
 - it can generate GUI code that can work on wxLua
 - most of the widgets on the palette are working
 - adding handlers will work
 - you can modify logics of generated code, while let wxGlade update the GUI
part.

Plus,
 - empty sizer slots will not harm generated GUI layout. (for python and
lua code generation)
 - fix some issues about initial size of widgets. 

Some sortcomings :
 - the generated code will always leave one wxlua process, if not manually
exit by ExitMainLoop.
   Currently I don't know why, but any suggestions are welcome.

I hope that this functionality will be merged to wxGlade source tree,
though it'll need some more effort.

(Continue reading)

John Labenski | 21 Jul 20:33

Re: [ANN] patch for wxGlade, to generate GUI code for (wx)Lua

On Sat, Jul 19, 2008 at 5:45 PM, Makoto Hamanaka <ham.lua@...> wrote:
> Hi,
>
> I was looking for some GUI builder for wxLua and I found wxGlade, but it lacks
> GUI code generation for Lua. And I looked into the source code of wxGlade
> and found that it looks not so difficult to add this functionality.
>
> So, here is a preview patch for wxGlade-0.6.3 and some description.
>
> http://hammm.dw.land.to/lua/wxglade_lua.html

That's great! I'm doing a lot of traveling for work, but I'll try to
give it a shot when I get some free time. I've thought about doing
something like that for a long time, but never got around to it.

Thanks!
    John

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

Gmane