<RBox@GridLayout>:
cols: 2
text: ''
group: ''
RCheckBox:
id: cb
group: root.group
on_active: root.test()
class RBox:
def test(self):
print('test')
class FormScreen(BoxLayout):
#a bunch of other code that worksclass MainApp(App):
def build(self):
return FormScreen()
if __name__ == "__main__":
MainApp().run()
If you are going to have attributes in Python, you do not used a dynamic rule.
Change: <RBox@GridLayout>:
To: <RBox>:
And
Change: class RBox:
to: class RBox(GridLayout):
If that does not fix the issue post a small executable example.
--
You received this message because you are subscribed to the Google Groups "Kivy users support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kivy-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/4cc4f1ba-a313-4620-aac3-5e52d9da83d7%40googlegroups.com.
😊
From: Eric B
Sent: Monday, March 9, 2020 11:28 AM
To: Kivy users support
--
You received this message because you are subscribed to the Google Groups "Kivy users support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kivy-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/0cb77b85-9e0a-4db3-bb6d-565ab4b7c6f5%40googlegroups.com.