init python
This commit is contained in:
parent
8e50c4a08e
commit
cd5471c28d
|
@ -0,0 +1,10 @@
|
|||
import gi
|
||||
gi.require_version("Gtk", "3.0")
|
||||
from gi.repository import Gtk
|
||||
|
||||
if __name__ == "__main__":
|
||||
builder = Gtk.Builder()
|
||||
builder.add_from_file("gui.glade")
|
||||
builder.get_object("win").connect("destroy", Gtk.main_quit)
|
||||
builder.get_object("win").show_all()
|
||||
Gtk.main()
|
Reference in New Issue