fix quickstart code example

This commit is contained in:
Christopher Denter 2011-01-30 13:57:36 +01:00
parent 8dc4e9fba2
commit b16206d2f5
1 changed files with 2 additions and 3 deletions

View File

@ -21,10 +21,9 @@ The base code for creating an application looks like this:
class MyApp(App):
def build(self):
return Button(label='Hello World')
return Button(text='Hello World')
if __name__ == '__main__':
MyApp().run()
MyApp().run()
Save it as `myapp.py` and run it with your Python interpreter ::