'Grouping widget attributes in Kivy

This is probably a simple question, but I can't find a solution anywhere online. I have been making a Kivy application and I keep on reiterating over the same attributes. Can I assign the widgets to groups, and then format the entire group? Thanks for any advice.



Solution 1:[1]

I don't think you can group widgets like you want, but you can specify attributes of widgets in a .kv file using rules so those attributes don't have to be repeated every time.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 John Anderson