Skip to content
Snippets Groups Projects
Commit 1f0ddda5 authored by Brady James Garvin's avatar Brady James Garvin
Browse files

Pre-included inspector.

parent e342d723
Branches
No related tags found
No related merge requests found
from kivy.app import App from kivy.app import App
from kivy.modules import inspector # For inspection.
from kivy.core.window import Window # For inspection.
__app_package__ = 'edu.unl.cse.soft161.order' __app_package__ = 'edu.unl.cse.soft161.order'
__app__ = 'Order Meal' __app__ = 'Order Meal'
...@@ -7,7 +9,8 @@ __flags__ = ['--bootstrap=sdl2', '--requirements=python2,kivy', '--orientation=l ...@@ -7,7 +9,8 @@ __flags__ = ['--bootstrap=sdl2', '--requirements=python2,kivy', '--orientation=l
class OrderApp(App): class OrderApp(App):
pass def build(self):
inspector.create_inspector(Window, self) # For inspection (press control-e to toggle).
if __name__ == '__main__': if __name__ == '__main__':
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment