mirror of
https://github.com/slint-ui/slint.git
synced 2025-11-20 03:50:00 +00:00
Python: Add support for assigning colors directly to brushes
This commit is contained in:
parent
3c9b57ecf8
commit
3e66b98121
3 changed files with 12 additions and 2 deletions
|
|
@ -32,7 +32,7 @@ enum PyColorInput {
|
|||
#[pyclass]
|
||||
#[derive(Clone)]
|
||||
pub struct PyColor {
|
||||
color: slint_interpreter::Color,
|
||||
pub color: slint_interpreter::Color,
|
||||
}
|
||||
|
||||
#[pymethods]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue