GithubHelp home page GithubHelp logo

ui-tutorial's Introduction

UI Tutorial

alt text alt text alt text

As you surely noticed there are two ways of writing a ui-script. If you use only a few GUI elements you might write all the code in your script.py, but that's not what is here. Here is how to use the UI design tool to speed up the process and write only little code. To get a summary see the ui-tutorial.pdf.

  • load_ui.py - Shows how to load a .pyui file
  • hello_world_v2.py - Change the label every second
  • shoppinglist.py - Button, tableview and textfield use
  • layout.py - Automatic resize ui elements
  • pop-over.py - Barebone example of how to use a pop over view
  • AreYouEnabledView.py - Advanced example with textfield_did_change, console_alert, speech, etc... (written by cclauss)
  • ShowTableView.py - Directory table, empty table and table with different accessory_types/images
  • UsingSubviews.py - Demonstrates how to add and remove subviews
  • Webbrowser.py - Example of a basic web browser
  • SpecialButton.py - Control all touch events (touch_began, touch_moved, touch_ended)
  • segmented-control.py - Example of how to use a segmented control (written by tjferry14)
  • MyImageView.py - View all JPGs in the current directory
  • NavigationViewExample.py - Shows an example of using the Navigation View
  • SwitchViews.py - Show and hide different views
  • MiniPhotoView.py - Shows up to 100 photos from your camera roll
  • Three-Column-Sortable-TableView.py - Sort any of the three columns in ascending or descending order
  • MyView.py – When is layout and when is draw called. Draw with icon, line and text.

Other UI scripts can be found here:

ui-tutorial's People

Contributors

cclauss avatar humberry avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ui-tutorial's Issues

Dynamically update text field

I’m new to python & pythonista, but I’m really enjoying it.
So my issue; I’m trying to update a text field with a running elapsed timer. I attempted to use a software interrupt (signal module) with no success. It seems to me the ui is constantly polling for actions, so I should think I could tap into that, just haven’t found the secret yet. Any hints are appreciated.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.