-
Notifications
You must be signed in to change notification settings - Fork 23
Util
CI edited this page Oct 3, 2020
·
3 revisions
Helpful functions for layout, widget info, and debugging.
Iterates through the widget hierarchy, starting with the given widget, until a viable global name is found. This is primarily useful when the template for a widget that assumes it has a global name, when it actually doesn't due to modern naming practices.
Args:
-
widget
- the widget to fine a name for (Widget)
Returns:
-
widgetName
- the name of the given widget (string)