---

LinuxFocus.org: Developing Gnome Application with Python (Part 1)

This series of articles is especially written for beginner
in Gnome programming and GNU/Linux. The chosen development
language, Python, avoids the common overload with compiled
languages as C. Prior to the reading of this article some knowledge
about Python programming is necessary.

“Glade is an interface builder developed by Damon Chaplin. It
allows graphical and interactive construction of Gnome/Gtk
graphical user interfaces. From Glade, the generated interface can
be saved in a xml file or directly exported to C code to be
included in a C source tree. Glade also allows to define the name
of the handlers – functions – to be attached to the various event
of the interface. For example the function (name) to be called when
a specific menu item is pressed.”

“LibGlade is a library written by James Henstridge to generate
on the fly an interface represented by a Glade xml file. The
application just needs to be aware of the xml file – generally
ending by the .glade extension – and then LibGlade can generate the
interface from it. James Henstridge has also written the LibGlade
Pyhton binding – among others – found in the Gnome-Python package.
LibGlade also allows to auto-connect – almost in Python – the
handlers defined in the .glade file to functions defined in the
Python code.”

Complete
Story

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis