Added application name

This commit is contained in:
Alperen İsa Nalbant 2021-11-28 16:13:18 +01:00
parent 5efd634118
commit e627bda26a
1 changed files with 2 additions and 1 deletions

View File

@ -3,13 +3,14 @@ selamun = "aleyküm"
import gi, os
gi.require_version("Gtk", "3.0")
gi.require_version("Handy", "1")
from gi.repository import Gtk, Handy
from gi.repository import Gtk, Handy, GLib
Handy.init()
class MyWindow(Handy.Window):
def __init__(self):
super().__init__(title="Hello World")
GLib.set_application_name("Hello world")
self.set_default_size(500, 300)
# WindowHandle