slint/api/python
2024-03-07 12:12:24 +01:00
..
slint Python: Add support for a @slint.callback decorator to conveniently associated callbacks with python methods 2024-03-07 12:00:08 +01:00
tests Python: Add support for a @slint.callback decorator to conveniently associated callbacks with python methods 2024-03-07 12:00:08 +01:00
.gitignore python: hide native module behind python front-end API 2023-12-21 12:57:35 +01:00
brush.rs Python: Add support for assigning colors directly to brushes 2024-03-06 17:22:27 +01:00
Cargo.toml Python: Add bindings for Brush and Color 2024-03-01 17:17:44 +01:00
errors.rs Python: Add bindings for Brush and Color 2024-03-01 17:17:44 +01:00
image.rs Add support for mapping image properties 2024-02-23 16:05:07 +01:00
interpreter.rs Python: Improve diagnostics when invoking a callback fails 2024-03-07 08:33:45 +01:00
lib.rs Python: Initial support for implementing models in Python 2024-03-05 15:45:52 +01:00
models.rs Python: Initial support for implementing models in Python 2024-03-05 15:45:52 +01:00
noxfile.py Run python tests without capturing stderr/stdout 2023-12-21 12:57:35 +01:00
pyproject.toml Bump version number to 1.5.0 2024-02-20 17:33:11 +00:00
README.md From the Python README, refer to the printer demo instead of the tests. 2024-03-07 12:12:24 +01:00
timer.rs Add support for timers and run/quit_event_loop 2023-12-21 12:57:35 +01:00
value.rs Python: Don't panic when unable to convert an interpreter data type to Python 2024-03-06 17:22:27 +01:00

Slint-python (Alpha)

Slint is a UI toolkit that supports different programming languages. Slint-python is the integration with Python.

Warning: Alpha Slint-python is still in the very early stages of development: APIs will change and important features are still being developed, the project is overall incomplete.

You can track the overall progress for the Python integration in GitHub at https://github.com/slint-ui/slint/milestone/18 as well as by looking at python-labelled issues at https://github.com/slint-ui/slint/labels/a%3Alanguage-python .

If you want to just play with this, you can try running our Python port of the printer demo:

cd examples/printerdemo/python
pipenv update
pipenv run python main.py