Replacement for Gtk Builder with a more sane API (WIP)
Clone or download
zenhack Fetch objects by id for image and buffer properties.
We were doing just model before. We'll probably have to add to this
list, just like _enums.
Latest commit 764dea6 Oct 11, 2015
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples
gtkclassbuilder
tests
.gitignore
BUGS Remove some fixed issues from BUGS Oct 8, 2015
COPYING Add LGPL Apr 27, 2015
README.md
setup.py
test-requirements.txt

README.md

python-gtkclassbuilder is an alternative to Gtk Builder, designed to ease the making of building blocks within glade.

When it processes a glade file, Gtk Builder gives you back an object -- instances of the widgets described in the file. This makes it unsuitable for creating generic widgets that you'll use multiple times.
To get another one, you have to process the file all over again.

python-gtkclassbuilder on the other hand, constructs a class, which like any other widget class, may be instantiated multiple times.

This is still very WIP, but it's possible to do basic things.

See the examples/ directory for a taste of the api.

License

LGPL 2.1 or later (The same as Gtk). See COPYING