Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/zenhack/python-gtkclassbuilder

Replacement for Gtk Builder with a more sane API (WIP)
https://github.com/zenhack/python-gtkclassbuilder

Last synced: 17 days ago
JSON representation

Replacement for Gtk Builder with a more sane API (WIP)

Awesome Lists containing this project

README

        

`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`