Properties are declared at the class level, but the are instance properties.
Each property will have it’s own event that will fire when the property changes. If I declare a kivy property called my_prop, if there is a change in self.myprop, it will call self.on_myprop().
https://kivy.org/doc/stable/api-kivy.properties.html?highlight=properties#observe-property-changes
Alternatively you would walk the widget tree,
https://kivy.org/doc/stable/api-kivy.uix.widget.html?highlight=widget#kivy.uix.widget.Widget.walk
and use hasattr() on the appropriate widget types (type()).
--
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/1b68ea50-5531-47b6-a630-e8cb60e2205b%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to kivy-...@googlegroups.com.
Could you create class instances of a class that contains a property?
The property would have the same name, but the class would have a unique name.
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/8d1f3770-3adf-459f-845a-e2785895c6a4%40googlegroups.com.