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 <your virtualenv dir>/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

This version

0.1.0

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.0.tar.gz (5.2 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.0-py2.py3-none-any.whl (8.4 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for toga-demo-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ef7ff8b6e0ebbd7d5b9003655a2f7870b4e912d1a4332fdfe5c7d00b43aab954
MD5 3d4f40943945e97fc9390fe6d879ddac
BLAKE2b-256 073759f257b59df4c3b713058e95f1020ca37a158dd4cb2b26e3434b909e89d3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for toga_demo-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 e10d3bba659354ba5fb8bc6e026fbf2801f54bcb0df7ef142db9ff0584858530
MD5 d552ed3646fe8e28c2be2df3b7e87623
BLAKE2b-256 68b23102ee0773ad10bb780b767bf3a3b62f8ff4d12b706086f37f3269289000

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