I need a way to track what tab the user clicked on in the options. I'll have 1 to 4 tabs. Is there a callback I can use or something that will call a function and tell me the user clicked on tab 4. Or a different tab became active?
Also I need to find call a function when the user options up the ace3 options screen. And again when it gets closed. Maybe OnHide and OnShow will work for this. I just need to know where I get the frame to register the event. Unless something is already built in to do this?
I have different frames on the screen and when the user clicks a certain tab, the frame will highlight and show the user this is the tab that will modify that frame when you make changes. These tabs are dynamic. The user can add or remove tabs which contain options.
Weakauras does this when you click on a tree group it highlights the weak aura on the screen. Except in my case I'm using tabs.
Problem with that is I have to poll somehow for when the user opens the options panel. I need the lib to tell me or call a function when the user opens/closes the options panel. Not the blizzard one but the one ace3 has.
Is there a way I can use this using the aceconfig? I just want to be able to know what tree group I have selected. So I can highlight different bars. I'd hope there is something I can do. Doing my own version of aceconfig would be a huge project just to be able to do one thing and probably take months. I don't even know how half this stuff works under the hood.