API C UIWidgetManager.GetAllWidgetsBySetID

Returns all widgets for a widget set ID.
 widgets = C_UIWidgetManager.GetAllWidgetsBySetID(setID)
==Arguments==
:;setID: : UiWidgetSetID
==Returns==
:;widgets:
==Example==
Prints all UI widget IDs for the top center part of the screen, e.g. on Warsong Gulch:
local topCenter = C_UIWidgetManager.GetTopCenterWidgetSetID()
local widgets = C_UIWidgetManager.GetAllWidgetsBySetID(topCenter)
for _, w in pairs(widgets) do
	print(w.widgetType, w.widgetID)
end
 > 0, 6 -- IconAndText, VisID 3: Icon And Text: No Texture Kit
 > 3, 2 -- DoubleStatusBar, VisID 1197: PvP - CTF - Double Status Bar
 > 14, 1640 -- DoubleStateIconRow, VisID 1201: PvP - CTF - Flag Status
==Patch changes==
==See also==
*