Concepts
How apps run, wait, place things and get their permissions.
- How your app runsHow an app starts, what keeps it alive, how it ends, and where its window lives.
- Waiting: suspending calls and handlesHow calls that wait work: handles, waiting for one or several, and completion callbacks.
- Coordinates and unitsWhich way is up in each API, where the origin sits, and what a UI px is.
- Permissions and capabilitiesHow an app is granted permissions and handles, and how grants flow down.
- Input, focus and BackWhich app hears input, how windows stack, and where Back goes.
- Packages and identityWhat a package is: its layout, manifest, identity, archive and handle.
- API conventionsColors, handles, option tables, angles and errors across the API.
- The Lua sandboxThe Lua your app runs in: what it has, and what it leaves out.
- GlossaryThe terms this manual uses.