WoW:API Frame SetScript: Difference between revisions

m
(Nuke author line)
Line 11: Line 11:


:;handler : String - The handler to attach func to (OnShow, OnEvent, [[XML_User_Interface#Event_Handler_reference|et al]])
:;handler : String - The handler to attach func to (OnShow, OnEvent, [[XML_User_Interface#Event_Handler_reference|et al]])
:;func : Function - The function to call.  <tt>nil</tt> to remove the handler.
:;func : Function - The function to call.  <tt>nil</tt> to remove the handler. <tt>func</tt> is called with arguments <tt>(frame, event, arg1, arg2, ...)</tt>


== Example ==
== Example ==
Anonymous user