0
I created a program in Python and Kivy, but it only gives error!
PYTHON PROGRAM:
kivy.require("1.11.1")
from kivy.app import App
from kivy.uix.boxlayout import BoxLayout
from kivy.uix.button import Button
from kivy.uix.floatlayout import FloatLayout
def Ridget(FloatLayout):
pass
class aplication(App):
def build(self):
return Ridget
window = aplication()
window.run()
KIVY PROGRAM:
<Ridget>:
Button:
text: 'Hi'
ERROR MESSAGE:
1:
2: :
3: Button:
4: text: 'Hi'
Invalid Property name