pyHomeControl/main.py

28 lines
697 B
Python
Raw Normal View History

2018-05-09 00:39:30 +02:00
'''
Application built from a .kv file
==================================
This shows how to implicitly use a .kv file for your application. You
should see a full screen button labelled "Hello from test.kv".
After Kivy instantiates a subclass of App, it implicitly searches for a .kv
file. The file test.kv is selected because the name of the subclass of App is
TestApp, which implies that kivy should try to load "test.kv". That file
contains a root Widget.
'''
import kivy
kivy.require('1.0.7')
from kivy.app import App
from kivy.core.window import Window
class TestApp(App):
pass
if __name__ == '__main__':
2018-05-09 00:41:00 +02:00
Window.size = (720,480)
2018-05-09 00:39:30 +02:00
Window.fullscreen = True
TestApp().run()