WoWInterface - View Single Post - Run a function when InterfaceOptionsFrame gets closed
View Single Post
01-05-19, 07:07 PM   #4
A Molten Giant
Kanegasi's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2007
Posts: 529
To answer your original question, you can hook the Interface Options Frame OnHide script/widget:

Lua Code:
  1. InterfaceOptionsFrame:HookScript("OnHide", function()
  2.     -- do stuff
  3. end)

I use this to get around taints involved with Blizzard's provided "cancel" function in the options api.
  Reply With Quote