Frame:UnregisterEvent()

From Wowpedia
Jump to: navigation, search

Unregisters the widget from receiving OnEvent notifications for a particular event.

success = Frame:UnregisterEvent("event")

Arguments

event 
string - The name of the event the object wishes to no longer monitor. See Events.

Returns

success 
boolean - Returns true if the event was successfully unregistered, false if (already) unregistered.

See also