Replies: 1 comment
-
This is not an issue tracker. Please use this forum only for discussions related to the framework , not for issues related to particular repository or a product. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This code should work as this is a standard way of writing code and running it. But if I delete the decorator @operator the code throws an exception. Is it because of the version I am using (2.3.1) or the PyCharm IDE?
`from kivy.app import App
from kivy.uix.button import Button
from kivy.uix.boxlayout import BoxLayout
class MyButtonApp(App):
@Property
def build(self):
layout = BoxLayout(orientation='vertical')
button = Button(text="BUTTON")
layout.add_widget(button)
return layout
if name == 'main':
MyButtonApp().run()`
Beta Was this translation helpful? Give feedback.
All reactions