mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-03 18:29:09 +00:00
parent
f62d5e0d4b
commit
80fda11e0f
8 changed files with 289 additions and 12 deletions
|
@ -4,6 +4,7 @@
|
|||
mod image;
|
||||
mod interpreter;
|
||||
use interpreter::{ComponentCompiler, PyDiagnostic, PyDiagnosticLevel, PyValueType};
|
||||
mod brush;
|
||||
mod errors;
|
||||
mod timer;
|
||||
mod value;
|
||||
|
@ -35,6 +36,8 @@ fn slint(_py: Python<'_>, m: &PyModule) -> PyResult<()> {
|
|||
m.add_class::<PyDiagnostic>()?;
|
||||
m.add_class::<timer::PyTimerMode>()?;
|
||||
m.add_class::<timer::PyTimer>()?;
|
||||
m.add_class::<brush::PyColor>()?;
|
||||
m.add_class::<brush::PyBrush>()?;
|
||||
m.add_function(wrap_pyfunction!(run_event_loop, m)?)?;
|
||||
m.add_function(wrap_pyfunction!(quit_event_loop, m)?)?;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue