AceGUI-3.0-Search-EditBox

  • 3 pages found
NameAuthorLast updated byUpdated on
NameAuthorLast updated byUpdated on
API michaelspain michaelspain Mar 20, 2012
Predictor table/object with all supported callbacks. Only "GetValues" function is mandatory, the rest of callbacks are optional: local Predictor = {} function Predictor:Initialize() end function Predictor:GetValues(text, values, max ) end function Predictor:GetValue(text, key ) end function Predictor:GetHyperlink( key ) end LibStub("AceGUI-3.0-Search-EditBox"):Register( "MyAddonPredictor", Predictor ) Initialize() This method is executed only once, the first time an EditBox widget linked to...
Introduction michaelspain michaelspain Mar 19, 2012
Predictors The first step to use this widget is to register a "Predictor", a predictor is a callback function (or a list of callback functions for more advanced uses). The widget calls this function requesting values to display in the results dropdown list. This is the more simple way to register a predictor. This predictor iterates over the player spell book, looking for spells matching the text typed in the editbox. LibStub("AceGUI-3.0-Search-EditBox"):Register( "MyAddonSpellPredictor",...
Main michaelspain michaelspain Mar 19, 2012
An edit box widget for AceGUI-3.0 that adds a prediction list of results while the user is typing, based on AceGUI-3.0-Spell-Edit-Box and AceGUI-3.0-Completing-EditBox, but with all the spells code management removed, so this is a generic widget, does not display anything by itself, the displayed results must be provided by external code. Introduction API
  • 3 pages found