Fixed kebab casing of previous appwindow.slint.

This commit is contained in:
Enyium 2024-09-19 11:37:44 +02:00 committed by Simon Hausmann
parent 844590cac8
commit 9894eca229
25 changed files with 33 additions and 33 deletions

View file

@ -48,7 +48,7 @@ pipenv run python main.py
## Quick Start
1. Add Slint Python Package Index to your Python project: `pipenv install slint`
2. Create a file called `appwindow.slint`:
2. Create a file called `app-window.slint`:
```slint
import { Button, VerticalBox } from "std-widgets.slint";
@ -75,8 +75,8 @@ 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.loader will look in `sys.path` for `app-window.slint`.
class App(slint.loader.app_window.AppWindow):
@slint.callback
def request_increase_value(self):
self.counter = self.counter + 1