basic-gtk.py 158 B

12345678910
  1. import gi
  2. gi.require_version("Gtk", "3.0")
  3. from gi.repository import Gtk
  4. win = Gtk.Window()
  5. win.connect("destroy", Gtk.main_quit)
  6. win.show_all()
  7. Gtk.main()