mirror of
https://github.com/slint-ui/slint.git
synced 2025-12-23 09:19:32 +00:00
The generated file offers the following two pieces of functionality: - Convenient front-end to slint.load_file() by loading the .slint file (replaces use of auto-loader) - More importantly: Type information for exported properties, callbacks, functions, and globals On loading, the previously generated API is compared to what's in the .slint file and if the .slint file was changed in an incompatible way, an exception is thrown. A Python test driver is added which performs three steps with each test case: 1. Generate python stubs and checks that they can be loaded with the python interpreter and that `uv ty check` passes. 2. Extract expected python API out of pyi sections and compares them. 3. Appends any python code from python sections and runs them (this is combined with step 1) Fixes #4136 |
||
|---|---|---|
| .. | ||
| briefcase | ||
| slint | ||