mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-31 15:47:26 +00:00
doc: highlight the function of the auto-loader once more in the python README
This commit is contained in:
parent
c89af275e5
commit
3c3b2ecb5a
1 changed files with 1 additions and 0 deletions
|
@ -75,6 +75,7 @@ export component AppWindow inherits Window {
|
|||
```python
|
||||
import slint
|
||||
|
||||
# slint.loader will look in `sys.path` for `appwindow.slint`.
|
||||
class App(slint.loader.appwindow.AppWindow):
|
||||
@slint.callback
|
||||
def request_increase_value(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue