View Single Post
01-07-19, 03:50 PM   #1
LudiusMaximus
A Rage Talon Dragon Guard
 
LudiusMaximus's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2018
Posts: 320
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!
  Reply With Quote