mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-31 15:47:26 +00:00
Fixed kebab casing of previous appwindow.slint
.
This commit is contained in:
parent
844590cac8
commit
9894eca229
25 changed files with 33 additions and 33 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue