gladepyc


Purpose:

A Python code generator tool, from Glade' XML save file, to the low-level part of "PyGtk", the Python - Gtk+ binding. Glade is a GUI builder for the Gtk+ GUI toolkit. PyGtk is the gateway between Python and Gtk+.

Why:

Those who know surely have already made the remark: "But why on earth doesn't he use libglade ?"... Here is what I think of it:

Additionally gladepyc has some features I wanted, that are not found in libglade nor GLC:

As you can see, there are some benefits to static code generation approach, which are difficult to achieve with a run-time library (though in our case it would be able to, since Python is interpreted and can dynamically define new classes and functions)

When / Status:

It seems now that all widgets of the basic set available in Glade are now handled. Gladepyc can now be considered ready for production.

A few pointless things are missing:

Some documentation has been put in the README file, including usage, build and install instructions. I provide a tutorial and a single example (a Python console).

Coming:

Future plans:

Requirements:

Gtk+ (>= 1.2.6), PyGtk (>= 0.6.8), Python (>= 1.5.2).

I'm working with Glade 0.6.2; Older (but not too much !) versions are probably fine too.

Where:

Python sources (nothing to compile) are in this tar-gzip archive: gladepyc 1.6.

PLEASE NOTE !!! Requirements changed with gladepyc 1.0 (see above).


Return to my home page.