Developers¶
This section is for people working on yugui itself. To build apps with it, start with Get started.
The code¶
yugui is a Python package with a Rust extension, built with maturin:
src/yugui/: the Python API. The widget functions inwidgets.pyreturnNodes;app.pyholdsAppandrun;testing.pyholds the test driver.rust/: the extension,yugui._native.build.rsturns nodes into iced widgets,app.rsruns the iced application,message.rscarries messages back to Python, andtesting.rsruns views headlessly for the driver.tests/: the test suite, which drives apps through the real widgets.examples/: the example apps, which the tests also run.docs/: this site.
How yugui works explains how the parts fit together.
Pages¶
- Setup and checks: build from source, run the tests and linters, and rebuild after changing Rust code.
- Releases: how wheels are built for each platform.
- Writing the docs: how this site is built, and where its screenshots and diagrams come from.