# app.py # Walker M. White (wmw2) # October 19, 2012 """Module to show off inheritance in Kivy""" import kivy import kivy.app import kivy.uix.label from kivy.config import * class MyApp(kivy.app.App): """Primary application object. Create and run to get the panel.""" _label = None # Holds the text label def build(self): """Build application with a single internal panel""" Config.set('graphics', 'width', '400') Config.set('graphics', 'height', '400') self._label = kivy.uix.label.Label(size=(400,400), text='Hello World!', font_size=36, bold=True) return self._label # Application Code. if __name__ == '__main__': MyApp().run()