mirror of
https://github.com/Afacanc38/gtk-examples-python.git
synced 2024-11-14 02:35:05 +03:00
set default size in 2-headerbar.py
This commit is contained in:
parent
4f738f7eb5
commit
fe8d6a83c5
1 changed files with 1 additions and 0 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue