mirror of
https://github.com/Afacanc38/gtk-examples-python.git
synced 2024-11-17 12:00:41 +03:00
Create 1-first-step.py
This commit is contained in:
parent
e0f53e9470
commit
8f7df07bfd
1 changed files with 9 additions and 0 deletions
9
vanilla/1-first-step.py
Normal file
9
vanilla/1-first-step.py
Normal file
|
@ -0,0 +1,9 @@
|
|||
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()
|
Loading…
Reference in a new issue