community
community copied to clipboard
Kivy buttons
I want to enable a button in program, please how to do it?
@rsshruti please use our channel or mailing list for support. https://webchat.freenode.net/?nick=kvuser&channels=kivy
I disabled the button in kv file.
Button:
disabled:True
size_hint_x: 0.2
pos_hint: {'right': 1}
background_color:1,1, 1,0
on_press: root.manager.current = 'select_final'
id: fb
Image:
on_size: self.right = self.parent.right
right: self.parent.right
allow_stretch: False
source: "next_button.png"
Now I want to enable it in main program. Please reply as I am new to kivy.