User talk:ILMostro

From ArchWiki

Python GTK+

GTK Window Example

hello_world.py

#!/usr/bin/env python
import gi
gi.require_version('Gtk', '3.0')
from gi.repository import Gtk
win = Gtk.Window()
win.connect("delete-event", Gtk.main_quit)
win.set_title("Hello, World!!!")
win.show_all()
Gtk.main()