Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from kivy.app import App
- from kivy.uix.widget import Widget
- from kivy.properties import ObjectProperty
- from kivy.properties import ListProperty
- from kivy.lang import Builder
- import io, os
- '''
- By default it will search the local folder for
- a .kv file with the same name as the main app.
- If the app class name has App in the name just
- drop that.
- This will force it to use a specific file instead.
- '''
- Builder.load_file('PaperTicket_v2.kv')
- class PaperTicketGridLayout(Widget):
- pass
- class PaperTicketApp(App):
- def build(self):
- return PaperTicketGridLayout()
- if __name__ == '__main__':
- PaperTicketApp().run()
Add Comment
Please, Sign In to add comment