WoW LibAceConfigAPI addon Dragonflight/Wrath of the Lich King Classic 2024
logo
wow addon LibAceConfigAPI

LibAceConfigAPI

Game Version: 8.0.1
Total Downloads: 15,600
Updated: Jul 18, 2018
Created: Sep 21, 2014
download LibAceConfigAPIDownload Earlier Versions

Earlier Versions

Name Size Uploaded Game Version Downloads
1.1.5 release 6.28 KB Jul 18, 2018 8.0.1 1,303 download LibAceConfigAPI 1.1.5 releaseDownload
1.1.4 +1 More release 6.39 KB Oct 28, 2016 7.1.0 1,347 download LibAceConfigAPI 1.1.4

+1 More releaseDownload
1.1.3 +1 More release 6.40 KB Jul 29, 2016 7.0.3 614 download LibAceConfigAPI 1.1.3

+1 More releaseDownload
1.1.2 +1 More release 6.39 KB Dec 1, 2015 6.2.3 603 download LibAceConfigAPI 1.1.2

+1 More releaseDownload
1.1.1 +1 More release 6.48 KB Oct 14, 2014 6.0.2 730 download LibAceConfigAPI 1.1.1

+1 More releaseDownload
1.1.0 +1 More release 6.51 KB Oct 4, 2014 5.4.8 114 download LibAceConfigAPI 1.1.0

+1 More releaseDownload
1.0.0 +1 More release 6.28 KB Oct 3, 2014 5.4.8 28 download LibAceConfigAPI 1.0.0

+1 More releaseDownload
1.0.0-nolib release 1.77 KB Sep 30, 2014 5.4.8 30 download LibAceConfigAPI 1.0.0-nolib releaseDownload
0.1.0 +1 More release 6.32 KB Sep 30, 2014 5.4.8 59 download LibAceConfigAPI 0.1.0

+1 More releaseDownload
1.1.5-2-g01013b4-alpha +1 More alpha 6.29 KB Jul 20, 2018 8.0.1 69 download LibAceConfigAPI 1.1.5-2-g01013b4-alpha

+1 More alphaDownload
1.1.3-1-g057164c +1 More alpha 6.34 KB Oct 28, 2016 7.1.0 12 download LibAceConfigAPI 1.1.3-1-g057164c

+1 More alphaDownload
1.1.1-1-gb3befa4 +1 More alpha 6.33 KB Dec 1, 2015 6.2.3 15 download LibAceConfigAPI 1.1.1-1-gb3befa4

+1 More alphaDownload
1.0.0-2-gf1cd4c8 +1 More alpha 6.47 KB Oct 3, 2014 5.4.8 17 download LibAceConfigAPI 1.0.0-2-gf1cd4c8

+1 More alphaDownload

Description

Share this:

This library provides a small API to build config trees for AceConfig-3.0.

API Doc

This API is a wrapper around the AceConfig-3.0 Options Tables and most of the parameter names are equal to thier name in the config table. I decided not to document/explain every argument for every method. Most of the argument names equal thier counterpart in an Options Table entry, therefore those should already be known or for those new to AceConfig-3.0 i suggest to read thier docs first regardles of this API.

NOTE Not all Features (Item Types and/or Parameters) of AceConfig-3.0 Options Tables may yet be supported.

Common Parameters

There are a lot of common parameters, thier meaning is documented here

createGroup(name, desc, childGroups, disabled, hidden)

see Groups

createHeader(name, hidden)

see Header

createDescription(name, hidden)

see Description

createInput(name, desc, arg, width, disabled, hidden)

see Input

createRange(name, desc, arg, mms, width, disabled, hidden)

mms
an array containing min, max and step. eg {0, 5000, 5} for min = 0, max = 5000 and step = 5
see Range

createSharedMediaFontSelect(name, desc, arg, values, width, disabled, hidden)

see AceGUI-3.0-SharedMediaWidgets

createSharedMediaSoundSelect(name, desc, arg, values, width, disabled, hidden)

see AceGUI-3.0-SharedMediaWidgets

createSharedMediaStatusbarSelect(name, desc, arg, values, width, disabled, hidden)

see AceGUI-3.0-SharedMediaWidgets

createSharedMediaBackgroundSelect(name, desc, arg, values, width, disabled, hidden)

see AceGUI-3.0-SharedMediaWidgets

createSharedMediaBorderSelect(name, desc, arg, values, width, disabled, hidden)

see AceGUI-3.0-SharedMediaWidgets

createSharedMediaSelect(type, name, desc, arg, values, width, disabled, hidden)

NOTE you should use the related createSharedMedia*Select instead of this method

type
this type does NOT match the type for Options Table entries but goes into dialogConrtroll (see Custom Controls
see AceGUI-3.0-SharedMediaWidgets

createSelect(name, desc, arg, values, width, disabled, hidden)

see Select

createToggle(name, desc, arg, width, disabled, hidden)

see Toggle

createExecute(name, desc, arg, func, confirm, width, disabled, hidden)

see Execute

createColor(name, desc, arg, alpha, width, disabled, hidden)

see Color

injectSetGet(obj, set, get)

Inject getter and setter methods into an option or group. setter/getter set on groups where inherited as described here

buildGetter(db, …)

Builds a default getter.

db
AceDB instance, do not pass db.profile or a child. this value is used as *db.profile*
a list of keys for the profile e.g. 'core', 'font' becomes `db.profile.core.font' and if the getter arg is *size* this method reads the value of 'db.profile.core.font.size'

buildSetter(callback, db, …)

Builds a default setter.

callback
a method to call after value has been set. the first parameter of the call will be the *arg*
db
AceDB instance, do not pass db.profile or a child. this value is used as *db.profile*
a list of keys for the profile e.g. 'core', 'font' becomes `db.profile.core.font' and if the setter arg is *size* this method sets the value of 'db.profile.core.font.size'

buildSetGet(callback, obj, db, …)

Builds and injects default setter/getter to *obj*.

Comments

Add a comment