Skip to content

Instantly share code, notes, and snippets.

@fourdollars
Created April 13, 2015 07:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fourdollars/c67a9617913ad79bfefc to your computer and use it in GitHub Desktop.
Save fourdollars/c67a9617913ad79bfefc to your computer and use it in GitHub Desktop.
#! /usr/bin/env python3
# -*- coding: utf-8; indent-tabs-mode: nil; tab-width: 4; c-basic-offset: 4; -*-
def main():
from gi.repository import Gtk
dialog = Gtk.Dialog("DEBUG")
dialog.add_buttons("Close", Gtk.ResponseType.CLOSE)
dialog.run()
print("Hello World!")
dialog.destroy()
import time
time.sleep(3)
if __name__ == '__main__':
main()
# vim:fileencodings=utf-8:expandtab:tabstop=4:shiftwidth=4:softtabstop=4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment