Widget handler: OnLoad
Jump to navigation
Jump to search
Called when a frame is created
OnLoad(frame)
Parameters[edit]
Arguments[edit]
- frame (frame) - the frame being created
Details[edit]
The OnLoad handler is called when a frame is created.
-- frame created, OnLoad handler called here frame = CreateFrame("Frame") -- never called frame:SetScript("OnLoad", function() print("Frame loaded") end)