I understand the call, but I need to dynamically update the icon texture when the value of the field that the icon is under is changed. How can you dynamically update the icon texture via the AceConfig gui calls?
I mean, is there a way to change it dynamically through the "get" argument?
I'm making a rather complex options setup for my addon, sorry for all the questions, I'm really pushing the limits of the framework.
for example (I know this is not proper!)
mytest= {
order = 1,
type = 'input',
icon = function() return("Interface\\Buttons\\UI-GroupLoot-Pass-Up") end,
name = "test",
get = function(info, texval) <change "icon" above to a new texture from 'texval'> end,
},
Does the icon function get called any time the get function is called? Guess that's my question to solve the above scenario. Going to test myself with simple print debug code, but last i looked servers were not up. Maybe someone will have an answer before I can perform my testing.
I understand the call, but I need to dynamically update the icon texture when the value of the field that the icon is under is changed. How can you dynamically update the icon texture via the AceConfig gui calls?
I mean, is there a way to change it dynamically through the "get" argument?
I'm making a rather complex options setup for my addon, sorry for all the questions, I'm really pushing the limits of the framework.
for example (I know this is not proper!)
Does the icon function get called any time the get function is called? Guess that's my question to solve the above scenario. Going to test myself with simple print debug code, but last i looked servers were not up. Maybe someone will have an answer before I can perform my testing.
Thanks, again.
mytests.icon shouldn't even be a function to begin with.