AceConfig-3.0 How-To

Using the widget with AceConfig-3.0 is pretty simple: simply add a control attribute in the option entry.

myAction = {
  name = 'My Action',
  type = 'input',
  -- Tell AceConfig to use an ActionSlot widget
  control = 'ActionSlot',
  -- GetSettingshould return a value matching the "input format" of the widget
  get = GetSetting,
  -- SetSetting will be passed a value formatted accordingly to the "output format" of the widget
  set = SetSetting,
}

Comments

Posts Quoted:
Reply
Clear All Quotes