Skip to content

Instantly share code, notes, and snippets.

@tronical
Created April 19, 2024 07:37
Show Gist options
  • Save tronical/704982099885899bdc843feba7a57284 to your computer and use it in GitHub Desktop.
Save tronical/704982099885899bdc843feba7a57284 to your computer and use it in GitHub Desktop.
Slint Example
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):
self.counter = self.counter + 1
app = App()
app.run()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment