Skip to main content

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:

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
toga_demo-0.1.1-py2.py3-none-any.whl (7.9 kB) Copy SHA256 hash SHA256 Wheel py2.py3
toga-demo-0.1.1.tar.gz (7.1 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page