0% found this document useful (0 votes)
113 views14 pages

Pythonista UI Tutorial and Scripts

The document provides descriptions and file paths for 18 Python scripts that demonstrate various user interface features in Pythonista, such as loading a UI, changing labels, using text fields and buttons, auto-resizing on device rotation, pop-overs, filling tables, adding and removing subviews, browsing images, and switching between views. It lists the script and UI file names for each example and briefly explains its functionality.

Uploaded by

JCap
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
113 views14 pages

Pythonista UI Tutorial and Scripts

The document provides descriptions and file paths for 18 Python scripts that demonstrate various user interface features in Pythonista, such as loading a UI, changing labels, using text fields and buttons, auto-resizing on device rotation, pop-overs, filling tables, adding and removing subviews, browsing images, and switching between views. It lists the script and UI file names for each example and briefly explains its functionality.

Uploaded by

JCap
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

ui-tutorial

(17.01.2015 / Pythonista v1.5)

load_ui.py

(load_ui.py, load_ui.pyui and load_ui.pdf)


In the pdf file you find a very detailed description how to create the script.

Script showing the label "Hello World"


hello_world_v2.py

(hello_world_v2.py and hello_world_v2.pyui)

Script with changing label (Hello // World).


[Link]

([Link] and [Link])

How to use a text field, a button and a table view.


[Link]

([Link] and [Link])

See how the auto-resizing feature works while you rotating your device.
[Link]

([Link] and [Link])

Sometimes you should ask the user again (quit, delete, ...)
[Link]

([Link] and [Link])

Advanced example with textfield_did_change, console_alert, speech, etc.


[Link]

([Link] and [Link])

How to fill a table view with different values.


[Link]

([Link] and [Link])

How to add and delete labels at runtime.


[Link]

([Link] and [Link])


[Link]

([Link] and [Link])

How to change the color of a self-made button.


[Link]

([Link] and [Link])


[Link]

([Link] and [Link])

Browse your pictures (jpg in the script path) by touching the display. If the picture is to big it will be
resized.
[Link]

([Link], [Link] and [Link])

Please press the arrow to load the switchview.


[Link]

([Link], [Link] and [Link])

It's like the NavigationView but you can go back and forth.

You might also like