Widget/API/UnregisterEvent

__NOTOC__
Tells the game engine to stop notifying a frame about an event.
MyFrame:UnregisterEvent(event)
== Parameters ==
=== Arguments ===
:;event
::string - Name of event to stop being notified about.
=== Returns ===
:;None
== Example ==
frame:UnregisterEvent("LOADING_END")
== Notes ==
After calling this function, the game engine will no longer call the frame's OnEvent script when the event occurs.
If called on a not registered event the client may crash.
Category:Widget/API