Ticket #67280: pygtk-entry-test.py

File pygtk-entry-test.py, 190 bytes (added by Akkiesoft (Akira Ouchi), 19 months ago)
Line 
1import gi
2gi.require_version("Gtk", "3.0")
3from gi.repository import Gtk
4win = Gtk.Window()
5entry = Gtk.Entry()
6win.add(entry)
7win.connect("destroy", Gtk.main_quit)
8win.show_all()
9Gtk.main()