skip to navigation
skip to content

toga-gtk 0.1.2

A GTK+ backend for the Toga widget toolkit.

Latest Version: 0.3.0.dev8

A GTK+ backend for the Toga widget toolkit.

This package isn’t much use by itself; it needs to be combined with the core Toga library.

For more details, see the Toga project on Github.


This backend requires GTK+ 3.4 as a minimum. This is the version provided out of the box by Ubunutu 12.04.

If you want to use a WebView, you’ll also need to have WebKit, plus the GI bindings to WebKit (gir1.2-webkit-3.0) installed.

Problems using virtualenv under Linux

When running under Linux, toga-gtk uses the system native python GTK+3 bindings for display purposes. However, if you’re using a –no-site-packages virtualenv, the Python bindings for GTK won’t be in your PYTHONPATH.

Unfortunately, you can’t pip install GTK+ bindings, so you have to use a workaround. To make the system GTK+ bindings available to your virtualenv, symlinking the gi module from the system dist-packages directory into your virtualenv’s site-packages:

$ cd $VIRTUAL_ENV/lib/python2.7/site-packages
$ ln -si /usr/lib/python2.7/dist-packages/gi


Toga is part of the BeeWare suite. You can talk to the community through:


If you experience problems with this backend, log them on GitHub. If you want to contribute code, please fork the code and submit a pull request.

File Type Py Version Uploaded on Size
toga-gtk-0.1.2.tar.gz (md5) Source 2014-08-23 12KB
toga_gtk-0.1.2-py2.py3-none-any.whl (md5) Python Wheel py2.py3 2014-08-23 18KB