Component GetWidget

Returns a reference to a XML Widget so that you can change things about it

widget = Component.GetWidget(widget_id)
 * Usage


 * Return Value


 * Examples:

local MAIN_WIDGET = Component.GetWidget("main");

function OnLoad MAIN_WIDGET:SetText("loaded"); -- sets text of widget end


 * Reference
 * API_Functions/Widget