Skip to content

Instantly share code, notes, and snippets.

@jacobmischka
Created August 15, 2015 07:07
Show Gist options
  • Save jacobmischka/c1586a9d3b7c4ffc86e9 to your computer and use it in GitHub Desktop.
Save jacobmischka/c1586a9d3b7c4ffc86e9 to your computer and use it in GitHub Desktop.
fuck
# 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