makegdesc
- From: Fredrik Tolf <fredrik dolda2000 com>
- To: gtk-list gnome org
- Subject: makegdesc
- Date: Sun, 22 Apr 2007 22:04:25 +0200
Hi List!
(Note: I'm not subscribed, so please Cc me if you want me to see your
reply)
I'm writing this message because I thought I'd share something I made. I
was tired of writing GTK windows in C code by hand, and I've never
really liked Glade (probably because I don't really like GUI programs),
so I've written a Perl script called `makegdesc' that takes a really
simple description of a GTK window, and writes C code for it, which can
be #included into another program.
I've found it really practical, and I hope someone else might like it as
well. I wrote it for the "Dolda Connect" project that I'm working on, so
it's available through its SVN web:
<http://svn.dolda2000.com/svn/r/src/doldaconnect/common/makegdesc>
For some examples of the file format, see the following files:
<http://svn.dolda2000.com/svn/r/src/doldaconnect/clients/gtk2/inpdialog.desc>
<http://svn.dolda2000.com/svn/r/src/doldaconnect/clients/gtk2/pref.desc>
<http://svn.dolda2000.com/svn/r/src/doldaconnect/clients/gtk2/mainwnd.desc>
<http://svn.dolda2000.com/svn/r/src/doldaconnect/config/dolconf-assistant.desc>
(The last one is yet incomplete, but still serves as reference)
Well, if you like it, have fun with it, otherwise you're free to ignore
it.
Fredrik Tolf
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]