PyGG 0.4 review

Download
by rbytes.net on

PyGG (PyGTK and Glade) is a Python module intended to ease the usage of Glade with PyGTK

License: GPL (GNU General Public License)
File size: 14K
Developer: Franck Pommereau
0 stars award from rbytes.net

PyGG (PyGTK and Glade) is a Python module intended to ease the usage of Glade with PyGTK. PyGG transparently handles the loading of Glade files and the connection of callbacks.

Usage:

A PyGG object is a GTK widget together with its callbacks. It is created from two parts:

- a GTK widget called MyPygg, which should be defined in a Glade file named mypygg.glade, this file may define other widgets

- a sub-class of one of the PyGG classes (Window, AppWindow, Dialog or Widget) named MyPygg and having methods corresponding to the callbacks defined in mypygg.glade

Creating an instance of the class MyPygg will load mypygg.glade and create an attribute widget in the instance, referring to the widget MyPygg. The other widgets will be available as attributes (the name of the widget being that of the attribute). The attributes of the widget MyPygg will be available as attributes of the instances of MyPygg.

A companion tool called pygg-stub.py allows to create sample PyGG classes from Glade files, having all the required callbacks.

What's New in This Release:
This version can be installed automatically.

PyGG 0.4 search tags