window.py 307 Bytes
Newer Older
1 2 3 4
{{include "license.py"}}

from gi.repository import Gtk

5

6
@Gtk.Template(resource_path='{{appid_path}}/{{ui_file}}')
7 8 9
class {{PreFix}}Window(Gtk.ApplicationWindow):
    __gtype_name__ = '{{PreFix}}Window'

10
    label = Gtk.Template.Child()
11 12 13

    def __init__(self, **kwargs):
        super().__init__(**kwargs)