gtk-examples-python/vanilla/1-first-step.py

10 lines
158 B
Python
Raw Normal View History

2021-08-30 15:04:52 +03:00
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()