Created
April 13, 2015 07:22
-
-
Save fourdollars/c67a9617913ad79bfefc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /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