Skip to content

Kivy basic button program doesnt work #1199

@matanix

Description

@matanix

Hey
I am trying to make my first app in kivy so i copied a basic button code.

class TestApp(App):
def build(self):
btn = Button(text="Press me")
return btn

if name == 'main':
TestApp().run()

however the button doesnt seem to be pressed when i click it with my mouse.

any suggestions how to fix this?

thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions