Reference¶
- API: every function and class that
import yugui as uigives you (apps, widgets, events, subscriptions, tasks, undo history) and the test driver, with their signatures and options. It's generated from the docstrings, so it matches the code.
Some details are easier to find elsewhere:
- Sizes, paddings, alignments and colours, which every widget takes in the same forms: the Layout section of the tutorial, and the types at the end of the API page.
- Themes:
ui.THEMESlists their names, from"Light"and"Dark"to"Tokyo Night". - Keys, for
ui.on_keyandui.shortcuts: named keys are written as iced names them ("Enter","Escape","ArrowUp","F5"), other keys as the character they type. Modifiers areshift,ctrl,alt,logo, andcmd, which means the Command key on macOS and Ctrl elsewhere. - What happens when your code raises: see How yugui works.