WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Lua/XML Help (https://www.wowinterface.com/forums/forumdisplay.php?f=16)
-   -   Need help in making config module (https://www.wowinterface.com/forums/showthread.php?t=58621)

supressor 03-08-21 04:29 PM

Need help in making config module
 
Hello, I made a WA and wanna transfer it's functionality to standalone addon.
Making event handler is not a problem, but making a config module is something I completely stuck in. I can make very simple options frame using AceConfig and AceGUI, but all I can make is static options. I need dynamic options, by default there is nothing in config frame but empty dropdown and "add" button. Pressing it will add new entry to dropdown and adds new widgets to frame, including another set of dropdown and add button (nested groups). So user can create and remove entries, making complex options table.
Here you can see how it looks in "custom options" in my WA, and basicly I need just to copy it.
https://wago.io/keDKx8-dt

Give me please some example of how to do it


All times are GMT -6. The time now is 06:34 AM.

vBulletin © 2022, Jelsoft Enterprises Ltd
© 2004 - 2021 MMOUI