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


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

toga-demo-0.1.1.tar.gz (7.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

toga_demo-0.1.1-py2.py3-none-any.whl (7.9 kB view details)

Uploaded Python 2Python 3

File details

Details for the file toga-demo-0.1.1.tar.gz.

File metadata

  • Download URL: toga-demo-0.1.1.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for toga-demo-0.1.1.tar.gz
Algorithm Hash digest
SHA256 bebe57c30fddcd0d80e634c93c5fe1f97baf7097ceec32db1216e5a81c3f9602
MD5 73897d074812571aec561173f3f6f71c
BLAKE2b-256 1fab8ceb58ae9215d28f4c0ccdc38322b4628cad6301939db699731dea76dfbc

See more details on using hashes here.

File details

Details for the file toga_demo-0.1.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for toga_demo-0.1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 8f62bbced86ae6fab69e88ec8aa52253c11e3e3d3a577fda7e396a58241fee6c
MD5 c3def8fde515f8d6207c018872cc260e
BLAKE2b-256 ab030ce993e8ef10ea66d296825e10d999e361c9c12359b44d4717a80a92dd56

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page