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,

You must login to post a comment. Don't have an account? Register to get one!


Date created
Apr 14, 2010
Last updated
Apr 14, 2010