Python Forum

Full Version: Why no brackets
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi, just starting to learn Kivy. I'm following tutorials done by "Tech with Tim". Was wondering why there were no brackets on the window manager within the .kv file as other classes are enclosed in <> when referencing them.

Here's the tutorial. https://techwithtim.net/tutorials/kivy-t...e-screens/

Thanks
Hello and welcome.
Items in <brackets> are definitions of a widget. When item appears without brackets, it is an instance of that widget that was defined in brackets. You can compare it to classes and instances of classes in OOP.