Classes¶
This page contains a list of classes used by the pyto_ui API.
Toga Compatibility¶
It’s possible to embed PytoUI views in a Toga app with the TogaWidget class.
A Toga Widget created from a PytoUI view. |
Views¶
A list of UI elements to be displayed on screen.
An object that manages the content for a rectangular area on the screen. |
|
A container view that defines a stack-based scheme for navigating hierarchical content. |
|
This class is used to create a PytoUI view from an UIKit view. |
|
A view displaying an image. |
|
A view displaying not editable and not selectable text. |
|
A cell contained in a |
|
A view containing a list of cells. |
|
An editable, multiline and scrollable view containing text. |
|
A View that displays web content. |
|
A view that arranges its children in a horizontal or vertical line. |
|
A view that arranges its children in a vertical line. |
|
A view that arranges its children in a horizontal line. |
Controls¶
The base class for controls, which are visual elements that convey a specific action or intention in response to user interactions. |
|
A horizontal control made of multiple segments, each segment functioning as a discrete button. |
|
A control used to select a single value from a continuous range of values. |
|
A control that offers a binary choice, such as On/Off. |
|
A control that executes your custom code in response to user interactions. |
|
A field to type single line text. |
Other classes¶
Classes that don’t represent views.
A |
|
A |
|
A gesture-recognizer object—or, simply, a gesture recognizer—decouples the logic for recognizing a sequence of touches (or other input) and acting on that recognition. |
|
An object representing a section in a Table View. |
|
A special kind of button that can be placed on the view's navigation bar. |
|
A class representing an alert. |
|
A tuple that contains the location and dimensions of a rectangle. |
|
A tuple that contains a point in a two-dimensional coordinate system. |
|
A tuple that contains width and height values. |