Created
August 15, 2015 07:07
-
-
Save jacobmischka/c1586a9d3b7c4ffc86e9 to your computer and use it in GitHub Desktop.
fuck
This file contains hidden or 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
# class OAuthWindow(Gtk.Window): | |
# def __init__(self): | |
# Gtk.Window.__init__(self, title="Enter PIN") | |
# self.set_size_request(200, 100) | |
# vbox = Gtk.Box(orientation=Gtk.Orientation.VERTICAL, spacing=6) | |
# self.add(vbox) | |
# self.entry = Gtk.Entry() | |
# self.entry.set_placeholder_text("PIN") | |
# self.entry.connect("activate", Gtk.main_quit) | |
# vbox.pack_start(self.entry, True, True, 0) | |
# | |
# button = Gtk.Button("Submit") | |
# button.connect("clicked", Gtk.main_quit) | |
# vbox.pack_start(button, True, True, 0) | |
# | |
# | |
# | |
# def get_pin(self): | |
# self.show_all() | |
# Gtk.main() | |
# self.close() | |
# return self.entry.get_text() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment