Dynamical LibAddonMenu
Hi all,
Whether it is possible to create menu dynamically, when opening the settings menu, with different number of elements? |
Yes it's possible, you can create the menu elements in a loop and add them to the table of controls that you give to LAM for example
|
I didn't put it that way, I didn't mean dynamic creation, but dynamic change every time you open Settings. Each time you open it, a new panel is created.
|
Check the LAM docu for the possible callback functions you could register, e.g.
Lua Code:
LAM-RefreshPanel will be called for each update of any of the controls in the panel! Not sure if this is what you needed, else describe your usecase in detail/with an example please. |
Thank you, Baertram. LAM-RefreshPanel this is exactly what I was looking for.
|
All times are GMT -6. The time now is 10:21 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI