Thread Tools Display Modes
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

WoWInterface » Developer Discussions » Lua/XML Help » Altering AceConfig-3.0 Options Tables at runtime?

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off