Skip to content
CI edited this page Oct 3, 2020 · 3 revisions

Helpful functions for layout, widget info, and debugging.


Util.GetName(widget)

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)
Clone this wiki locally