toga/examples
2024-04-26 01:07:56 -07:00
..
.template Ensure appcompat library is specified, and normalize bundle IDs. 2024-01-30 11:46:30 +08:00
activityindicator Ensure appcompat library is specified, and normalize bundle IDs. 2024-01-30 11:46:30 +08:00
beeliza Ensure appcompat library is specified, and normalize bundle IDs. 2024-01-30 11:46:30 +08:00
box Ensure appcompat library is specified, and normalize bundle IDs. 2024-01-30 11:46:30 +08:00
button Ensure appcompat library is specified, and normalize bundle IDs. 2024-01-30 11:46:30 +08:00
canvas Ensure appcompat library is specified, and normalize bundle IDs. 2024-01-30 11:46:30 +08:00
colors Ensure appcompat library is specified, and normalize bundle IDs. 2024-01-30 11:46:30 +08:00
command Ensure appcompat library is specified, and normalize bundle IDs. 2024-01-30 11:46:30 +08:00
date_and_time Ensure appcompat library is specified, and normalize bundle IDs. 2024-01-30 11:46:30 +08:00
detailedlist Ensure appcompat library is specified, and normalize bundle IDs. 2024-01-30 11:46:30 +08:00
dialogs Ensure appcompat library is specified, and normalize bundle IDs. 2024-01-30 11:46:30 +08:00
divider Ensure appcompat library is specified, and normalize bundle IDs. 2024-01-30 11:46:30 +08:00
documentapp Ensure appcompat library is specified, and normalize bundle IDs. 2024-01-30 11:46:30 +08:00
examples_overview Ensure appcompat library is specified, and normalize bundle IDs. 2024-01-30 11:46:30 +08:00
focus Ensure appcompat library is specified, and normalize bundle IDs. 2024-01-30 11:46:30 +08:00
font Ensure appcompat library is specified, and normalize bundle IDs. 2024-01-30 11:46:30 +08:00
font_size Ensure appcompat library is specified, and normalize bundle IDs. 2024-01-30 11:46:30 +08:00
handlers Ensure appcompat library is specified, and normalize bundle IDs. 2024-01-30 11:46:30 +08:00
hardware Rename location->geolocation, and silence change notifications on current_location requests. 2024-04-12 13:26:28 +08:00
imageview Ensure appcompat library is specified, and normalize bundle IDs. 2024-01-30 11:46:30 +08:00
layout Ensure appcompat library is specified, and normalize bundle IDs. 2024-01-30 11:46:30 +08:00
mapview Reworked map zoom to give it a consistent and reversible interpretation. 2024-02-28 13:06:29 +08:00
multilinetextinput Ensure appcompat library is specified, and normalize bundle IDs. 2024-01-30 11:46:30 +08:00
numberinput Ensure appcompat library is specified, and normalize bundle IDs. 2024-01-30 11:46:30 +08:00
optioncontainer Fixed OptionCoontainer example app 2024-04-26 01:07:56 -07:00
passwordinput Ensure appcompat library is specified, and normalize bundle IDs. 2024-01-30 11:46:30 +08:00
positron-django Merge pull request #2363 from freakboy3742/examples-update 2024-01-31 21:41:19 +00:00
positron-static Ensure appcompat library is specified, and normalize bundle IDs. 2024-01-30 11:46:30 +08:00
progressbar Ensure appcompat library is specified, and normalize bundle IDs. 2024-01-30 11:46:30 +08:00
resize Ensure appcompat library is specified, and normalize bundle IDs. 2024-01-30 11:46:30 +08:00
screenshot Update screenshot app to include MapView. 2024-02-21 11:03:46 +08:00
scrollcontainer Ensure appcompat library is specified, and normalize bundle IDs. 2024-01-30 11:46:30 +08:00
selection Ensure appcompat library is specified, and normalize bundle IDs. 2024-01-30 11:46:30 +08:00
slider Ensure appcompat library is specified, and normalize bundle IDs. 2024-01-30 11:46:30 +08:00
splitcontainer Ensure appcompat library is specified, and normalize bundle IDs. 2024-01-30 11:46:30 +08:00
switch_demo Ensure appcompat library is specified, and normalize bundle IDs. 2024-01-30 11:46:30 +08:00
table Ensure appcompat library is specified, and normalize bundle IDs. 2024-01-30 11:46:30 +08:00
table_source Ensure appcompat library is specified, and normalize bundle IDs. 2024-01-30 11:46:30 +08:00
textinput Ensure appcompat library is specified, and normalize bundle IDs. 2024-01-30 11:46:30 +08:00
tree Ensure appcompat library is specified, and normalize bundle IDs. 2024-01-30 11:46:30 +08:00
tree_source Ensure appcompat library is specified, and normalize bundle IDs. 2024-01-30 11:46:30 +08:00
tutorial0 Ensure appcompat library is specified, and normalize bundle IDs. 2024-01-30 11:46:30 +08:00
tutorial1 Ensure appcompat library is specified, and normalize bundle IDs. 2024-01-30 11:46:30 +08:00
tutorial2 Ensure appcompat library is specified, and normalize bundle IDs. 2024-01-30 11:46:30 +08:00
tutorial3 Ensure appcompat library is specified, and normalize bundle IDs. 2024-01-30 11:46:30 +08:00
tutorial4 Ensure appcompat library is specified, and normalize bundle IDs. 2024-01-30 11:46:30 +08:00
webview Ensure appcompat library is specified, and normalize bundle IDs. 2024-01-30 11:46:30 +08:00
window Merge branch 'main' into patch-11 2024-02-02 10:47:13 +08:00
README.rst Cleaned up examples, and added a tree example. 2017-11-11 11:24:39 +08:00

========
Examples
========

This directory contains example code demonstrating each widget defined by
Toga:

* button
* detailedlist
* table
* tree

It also contains working copies of the tutorial code:

* tutorial0
* tutorial1
* tutorial2
* tutorial3

Running the examples
--------------------

Each of the examples should run by installing toga, and running the
application as a Python module::

    $ pip install toga
    $ cd <example name>
    $ python -m <example name>

substituting `<example name>` for the example you want to run.

For developers: Creating new examples
-------------------------------------

This directory also contains a `Cookiecutter
<https://github.com/audreyr/cookiecutter>`__ template for new examples. To
create a new example, run the following from this directory::

    $ pip install cookiecutter
    $ cookiecutter .template

and answer the questions.