16 lines
334 B
Python
16 lines
334 B
Python
#/usr/bin/env python3
|
|
# -*- coding: utf-8 -*-
|
|
from kivy.app import App
|
|
from kivy.uix.label import Label
|
|
|
|
class MainApp(App):
|
|
def build(self):
|
|
label = Label(text='Hello World!',
|
|
size_hint=(.5, .5),
|
|
pos_hint={'center_x': .5, 'center_y': .5})
|
|
|
|
return label
|
|
|
|
if __name__ == '__main__':
|
|
app = MainApp()
|
|
app.run()
|