A demonstration of the capabilities of the Toga widget toolkit.
Project description
A demonstration of the capabilities of the Toga widget toolkit.
Quickstart
In your virtualenv, install Toga Demo, and then run it:
$ pip install toga-demo $ toga-demo
This will pop up a GUI window.
Problems using virtualenv under Ubuntu
Toga 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
Community
Toga Demo is part of the BeeWare suite. You can talk to the community through:
The BeeWare Users Mailing list, for questions about how to use the BeeWare suite.
The BeeWare Developers Mailing list, for discussing the development of new features in the BeeWare suite, and ideas for new tools for the suite.
Contributing
If you experience problems with Toga Demo, log them on GitHub. If you want to contribute code, please fork the code and submit a pull request.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for toga_demo-0.2.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d66c13233dee63fe957afdec8acb25ef651f7059da6aa86e910d8deab8288b53 |
|
MD5 | 74f1fee884ebb0f0d21faeed0fb758e3 |
|
BLAKE2b-256 | 3dd1e3e27617d90394ef5caa07b944436e69a0d55b89b8ea77897d7dfbda2264 |