daily pastebin goal
20%
SHARE
TWEET

main.py

a guest Aug 10th, 2018 61 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. from kivy.app import App
  2.  
  3. from kivy.uix.label import Label
  4. from kivy.uix.button import Button
  5. from kivy.uix.listview import ListItemButton
  6.  
  7. from kivy.uix.boxlayout import BoxLayout
  8.  
  9. from kivy.uix.screenmanager import ScreenManager, Screen
  10. from kivy.properties import ObjectProperty
  11.  
  12. class StatusBar(BoxLayout):
  13.     pass
  14. class TabBar(BoxLayout):
  15.     pass
  16. class Content(ListItemButton):
  17.     pass
  18. class Drawer(BoxLayout):
  19.     pass
  20. class Page(Screen):
  21.     pass
  22. class MainScreen(Page):
  23.     pass
  24. class LoginScreen(Page):
  25.     pass
  26. class HistoryScreen(Page):
  27.     pass
  28. class OverviewScreen(Page):
  29.     pass
  30. class PlotScreen(Page):
  31.     pass
  32.    
  33. screenmanager=ScreenManager()
  34. screenmanager.add_widget(MainScreen(name='mainscreen'))
  35. screenmanager.add_widget(LoginScreen(name='loginscreen'))
  36. screenmanager.add_widget(HistoryScreen(name='historyscreen'))
  37. screenmanager.add_widget(OverviewScreen(name='overviewscreen'))
  38. screenmanager.add_widget(PlotScreen(name='plotscreen'))
  39.  
  40. class MainApp(App):
  41.     def build(self):
  42.         return screenmanager
  43. MainApp().run()
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top