mirror of
https://github.com/slint-ui/slint.git
synced 2025-11-01 04:18:14 +00:00
Python: Make the re-exported classes show up property in the documentation
The variable assignment trick doesn't work for pdoc. Instead, fix the name properly and import them as re-export cleanly.
This commit is contained in:
parent
08fc503f68
commit
74f1674c57
6 changed files with 19 additions and 21 deletions
|
|
@ -2,9 +2,8 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-2.0 OR LicenseRef-Slint-Software-3.0
|
||||
|
||||
from slint import slint as native
|
||||
from slint import Color, Brush
|
||||
|
||||
Color = native.PyColor
|
||||
Brush = native.PyBrush
|
||||
|
||||
|
||||
def test_col_default():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue