Types¶
Reference¶
Bases: NamedTuple
A geographic coordinate.
Source code in core/src/toga/types.py
26 27 28 29 30 31 32 33 34 35 36 | |
Bases: NamedTuple
A 2D position.
Source code in core/src/toga/types.py
39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 | |
Bases: NamedTuple
A 2D size.
Source code in core/src/toga/types.py
61 62 63 64 65 66 67 68 69 70 71 72 73 74 | |
A representation of a 2D position, in CSS pixels. This can be:
- A tuple of 2 integers
(x,y); or - An instance of toga.Position.
A representation of a 2D size, in CSS pixels. This can be:
- A tuple of 2 integers
(x,y); or - An instance of toga.Size.