Skip to content

Instantly share code, notes, and snippets.

Created October 15, 2017 11:12
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 anonymous/ad5ab72ee667b6571288dfa5ca3337a0 to your computer and use it in GitHub Desktop.
Save anonymous/ad5ab72ee667b6571288dfa5ca3337a0 to your computer and use it in GitHub Desktop.
test_gist.py
import ui
class MyClass(ui.View):
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
self.make_view()
def make_view(self):
pass
if __name__ == '__main__':
f = (0, 0, 300, 400)
v = MyClass(frame=f)
v.present(style='sheet', animated=False)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment