A demonstration of the capabilities of the Toga widget toolkit.
Toga requires Python 3
For details of Toga's pre-requisites, see the toga repository on GitHub.
Once those pre-requisites have been met, in your virtualenv, install Toga Demo, and then run it:
$ pip install toga-demo $ toga-demo
This will pop up a GUI window.
If you have cloned the toga repository, install the dependent packages in your virtualenv:
$ cd toga $ pip install -e src/core $ pip install -e src/dummy
Then install the platform specific code:
$ pip install -e src/cocoa # macOS $ pip install -e src/gtk # Linux $ pip install -e src/winforms # Windows
Finally navigate to the demo directory and run the application:
$ cd demo $ python -m toga_demo
Toga Demo is part of the BeeWare suite. You can talk to the community through:
- @pybeeware on Twitter
- The beeware/general channel on Gitter.
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.