AceGUI-3.0-ActionSlotWidgets

  • 4 pages found
NameAuthorLast updated byUpdated on
NameAuthorLast updated byUpdated on
AceConfig-3.0 How-To Adirelle Adirelle Apr 14, 2010
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, }
Action format Adirelle Adirelle Apr 14, 2010
The exact format used a the widget depends on its type. Input refers to the argument one would pass to widget:SetText(value) or to the return value of the “get” callback of an AceConfig option entry. Output refers to the argument passed to the widget OnEnterPressed callback or the “set” callback of an AceConfig option entry. ActionSlot Action type Input format Output format Item Item hyperlink or "item:itemId" string "item:itemId" string Spell Spell hyperlink or "spell:spellId" string...
Main Adirelle Adirelle Apr 14, 2010
This library provides 5 AceGUI widgets that look like ActionButton and provide the same drag-and-drop features. These widgets are intended to be used with AceConfig-3.0 input options. The widgets are 5 variants accepting diffrent kind of actions: ActionSlotItem : action slot accepting only items, ActionSlotSpell : action slot accepting only spells, ActionSlotMacro : action slot accepting only macros, ActionSlotItem : action slot accepting only equipment sets. ActionSlot : generic action slot...
Widget API Adirelle Adirelle Apr 14, 2010
The widget mimics AceGUI EditBox widget so it could be used with AceConfig input entries. Methods :SetText(value) Arguments Set the action to be displayed. value (string|number|nil) – the action to be displayed. See the action format page for more details. :SetLabel(label) Define the text to be displayed over the action slot. Providing an empty string or nil hides the label ; the action slot is then expanded to fill the void. Arguments label (string|nil) – the label to display...
  • 4 pages found