AceGUI-3.0-Completing-EditBox

This project has become inactive.

This project is inactive and its default file will likely not work with the most recent version of World of Warcraft. The author may have abandoned it, or it may have outlived its usefulness.

Allows easy creation of AceGUI EditBox widgets supporting autocompletion. They can be used as custom controls in AceConfig table entries as well, via the 'dialogControl' field (see AceConfig docs for more on the dialogControl option).

Example mock-up (see the .lua file for explanations and additional notes):

local AceGUI = LibStub("AceGUI-3.0")
local Completing = LibStub("AceGUI-3.0-Completing-EditBox")

Completing:Register ("ExampleGroupMembers", AUTOCOMPLETE_LIST_TEMPLATES.IN_GROUP)
Completing:Register ("ExampleMailbox",      AUTOCOMPLETE_LIST.MAIL)
....

-- Works just like the name field in the builtin mail window.
local send_to = AceGUI:Create("EditBoxExampleMailbox")
....

-- The options dialog here will autofill names in your current raid.
ace3option = {
    name = "Example",
    type = 'input',
    dialogControl = "EditBoxExampleGroupMembers",
    get = false,
    set = function (info, value)
        print("Ooooh shiny, you might have typed", value, "with the help of autocompletion!")
    end,
}

Bugs, comments, etc, at the wowace development site link.

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

Facts

Date created
Oct 26, 2010
Categories
Last update
Aug 28, 2012
Development stage
Inactive
Language
  • enUS
License
MIT License
Curse link
AceGUI-3.0-Completing-EditBox
Downloads
8,693
Recent files
  • R: 1.4 for 5.0.4 Aug 28, 2012
  • R: v1.3 for 4.3 Nov 30, 2011
  • R: v1.2 for 4.2 Jun 28, 2011
  • A: r9 for 4.2 Jun 28, 2011
  • R: v1.1 for 4.1 Apr 26, 2011

Authors

Relationships

Embedded library
Ace3
CallbackHandler-1.0
LibStub