Jun-10-2021, 01:05 AM
(Jun-09-2021, 04:22 PM)topfox Wrote: Hi Tomli
I don't have a full answer for you, but a couple of suggestions.
I have written some very complicated assemblies of Kivy widgets, and have become frustrated with trying to control complicated interactions in kv language. Instead I have moved to coding everything in Python except where a rule only works in the kv code.
You may be able to refer to widget ids using syntax like root.ids.<myobjectid>.<attribute>
I hope that helps you move in the right direction!
Hi Topfox,
You know what? I took the same approach until now but decided to give .kv files a last try, and they are being a hell of a work when the code becomes big and you need a lot of interactions within widgets. There must be a way around besides not using the .kv, but I couldn't find it by myself and that's why I'm here, but as you are telling me seems that I wasn't the only one who found problems with these files. Guess I'm coming back to work only in python files after all.
Thanks for your reply!