Bottom Page

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 [Kivy] Why no brackets
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.

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.

Top Page

Forum Jump:

Users browsing this thread: 1 Guest(s)