WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Lua/XML Help (https://www.wowinterface.com/forums/forumdisplay.php?f=16)
-   -   Altering AceConfig-3.0 Options Tables at runtime? (https://www.wowinterface.com/forums/showthread.php?t=56960)

LudiusMaximus 01-07-19 03:50 PM

Altering AceConfig-3.0 Options Tables at runtime?
 
I am using AceConfig-3.0 Options Tables to add options for my addon the standard way:

Code:

local optionsTable = {
  type = 'group',
  args = {
    someSlider= {
          type = 'range',
          name = "Some Slider",
          desc = "Description to be changed later.",
          min = -10,
          max = 10,
          step = 1,
    },
  },
}

LibStub("AceConfigRegistry-3.0"):RegisterOptionsTable("myAddon", optionsTable)
myAddon.optionsMenu = LibStub("AceConfigDialog-3.0"):AddToBlizOptions("myAddon", "myAddon")

Is it possible to later change e.g. the description of this slider at runtime?

Thanks!


All times are GMT -6. The time now is 08:46 PM.

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