gtk-examples-python/vanilla-gtk/1-first-step.py
2021-10-30 19:16:20 +03:00

9 lines
No EOL
157 B
Python

import gi
gi.require_version("Gtk", "3.0")
from gi.repository import Gtk
win = Gtk.Window()
win.connect("destroy", Gtk.main_quit)
win.show_all()
Gtk.main()