August 2015
Intermediate to advanced
246 pages
4h 21m
English
Text is one of the most commonly used contents used in the apps. The recipe will create an app with a label widget where we will use text rendering to make our Hello World.
We are going to use one simple Python files that will just show our Hello World text. To complete the recipe:
kivy packages.e9app class instanced as app.build() to the class.Hello World text.import kivy kivy.require('1.9.0') # Code tested in this version! from kivy.app import App from kivy.uix.label import Label class e9App(App): def build(self): return Label(text='Hello [ref=world][color=0000ff]World[/color][/ref]', markup=True, ...