Re: Started work on GTK+/GLib module

Thatcher Ulrich <[email protected]> Mon, 5 Jul 2004 14:13:04 -0400
Newsgroups gmane.comp.lang.lua.luacheia
Message-ID <[email protected]>
On Jul 05, 2004 at 06:27 +0200, Adrián Pérez de Castro wrote:
> 
> As promised I started working in a thin GTK+ and GLib
> wrapper module for Lua. I finally decided to wrap GLib 
> as well as GTK+/GDK, because it contains some useful
> functionality that is not present at the moment in
> Lua/LuaCheia. There are several possible approaches 
> for the binding:
> 
>   A. Separate modules for each of GLib, GDK and GTK+
> 
>   B. A module for GLib and another with GTK+ and GDK
>      (usually there's no point in using GDK outside of 
>      GTK+, but GLib alone might be useful).
> 
>   C. An all-in-one module containing the three libs.
> 
>   D. Suggestions?

I like the idea of glib separate from GDK/GTK+, since it looks like
glib could be very useful for some non-GUI apps (e.g. on a server).
Although personally I've hardly used these libraries so I'm just going
based on my second-hand impressions.

> (Q: Does anyone know wether SWIG would work with Lua5?)

I don't know.

> Note that I have commited preliminary, proof-of-concept
> code, to the CVS. I like to make code available to the
> public soon ;).

I noticed, I even compiled it already!

-- 
Thatcher Ulrich
http://tulrich.com


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com