UPDATE UI WIDGET

Returns updated UI widget information.
 UPDATE_UI_WIDGET: widgetInfo
==Payload==
:;widgetInfo:
==Example==
Prints UI widget information when UPDATE_UI_WIDGET fires.
local function OnEvent(self, event, w)
	local typeInfo = UIWidgetManager:GetWidgetTypeInfo(w.widgetType)
	local visInfo = typeInfo.visInfoDataFunction(w.widgetID)
	print(w.widgetSetID, w.widgetType, w.widgetID, visInfo)
end
local f = CreateFrame("Frame")
f:RegisterEvent("UPDATE_UI_WIDGET")
f:SetScript("OnEvent", OnEvent)
You can query the information from the specific data function yourself, or use visInfo which does it programmatically.E.g. for the Arathi Basin PvP objective:
* Widget Set ID: 1 - Top center part of the screen
* Widget Type: 3 - Enum.UIWidgetVisualizationType.DoubleStatusBar
* Widget ID: 1671 - UiWidget.VisID -> UiWidgetVisualization.ID 1200 "PvP - Domination - Double Status Bar"
 /dump C_UIWidgetManager.GetDoubleStatusBarWidgetVisualizationInfo(1671)
==Patch changes==