Widget handler: OnLoad
Jump to navigation
Jump to search
This is a World of Warcraft API stub. Help expand it by editing it.
|
The OnLoad handler is called when a frame is created.
frame = CreateFrame("Frame"); -- frame created, OnLoad handler called frame:SetScript("OnLoad", function() print("Frame loaded") end); -- never called
self - the frame being created