Created
December 18, 2011 18:39
-
-
Save TannerFilip/1494123 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
import gtk | |
def create_window(): | |
window = gtk.window() | |
window.set_default_size(200, 200) | |
window.connect('destroy', gtk.main_quit) | |
label = gtk.Label('Hello World') | |
window.add(label) | |
label.show() | |
window.show() | |
create_window() | |
gtk.main() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment