AddOn Studio Wiki
Advertisement

Widget API ← Frame < UnregisterAllEvents

Unregisters all events that the object is currently monitoring.

obj:UnregisterAllEvents();

Example[]

myChatAddon:UnregisterAllEvents();

Result[]

Code in the <OnEvent> section of your addon would no longer fire.

Advertisement