set default size in 2-headerbar.py

This commit is contained in:
Alperen İsa 2021-08-30 18:11:48 +03:00 committed by GitHub
parent 4f738f7eb5
commit fe8d6a83c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -8,6 +8,7 @@ Handy.init()
class MyWindow(Handy.Window):
def __init__(self):
super().__init__(title="Hello World")
self.set_default_size(500, 300)
# WindowHandle
self.handle = Handy.WindowHandle()