ZZInfoBar v3

API / AA_ZZInfoBar

  • 7 pages found
NameAuthorLast updated byUpdated on
NameAuthorLast updated byUpdated on
buttons Noguai Noguai Jul 18, 2013
Buttons.Add(name, icon, tooltip, dropdown, click, scriptenter, scriptclick) Adds a new button to ZZInfoBar. Parameters name (string) The buttons unique name icon (string) The path to the buttons icon tooltip (table) The buttons tooltip; See: <a href="#TooltipTable">TooltipTable</a> dropdown (table) The buttons dropdown; See: <a href="#DropdownTable">DropdownTable</a> click (table) The buttons direct click event handlers; See: <a href="#ButtonClickHandlers">ButtonClickHandlers</a> scriptenter...
config Noguai Noguai Jul 18, 2013
Config.ApplyAll() Applies all configuration of ZZInfoBar
core Noguai Noguai Jul 18, 2013
Core.About(show) Toggles the about frame of ZZInfoBar Parameters show (bool) Show or hide the frame
debug Noguai Noguai Jul 18, 2013
arglist(...) Returns an argument list as string (i.e. for bug messages) Parameters ... (any) The argumanents to list argn(...) Returns the number of passed parameters Parameters ... (any) List of parameters to count bug(errMsg, forceFrame) Prints an error message to DEFAULT_CHAT_FRAME and BugMessageFrame Parameters errMsg forceFrame bugf(errMsg, ...) Prints an formatted error message to DEFAULT_CHAT_FRAME and BugMessageFrame Parameters errMsg ... catch(check, msg, ...) Throws an error when...
locale Noguai Noguai Jul 18, 2013
Locale.Get(key) Gets a ZZInfoBar translation Parameters key (string) The locale key
plugins Noguai Noguai Jul 18, 2013
Plugins.Add(name, icon, click, tooltip, enter) Adds a plugin to the plugin menu. Parameters name (string) The plugins name icon (string) Path to the plugins icon click (function) The menu buttons click event handler tooltip (table) The menu buttons tooltip; See: <a href="#TooltipTable">DropdownTooltip</a> enter (function) The menu buttons enter event handler Plugins.FindIndex(name) Get the index of a plugins button in the plugin menu. Parameters name (string) The plugins name...
tools Noguai Noguai Jul 18, 2013
Tools.ApplyButtonActive(settingName, templateData, configTable, localeGetter) Generates a toggle function to toggle a ZZInfoBar button on or off. Use as function to apply changed configuration. (See plugin examples) Parameters settingName (string) The settings name in the configuration table templateData (table) The button template to toggle configTable (table) The plugin's configuration table localeGetter (function) A function accepting a locale key to return the matching locale (Only needed...
  • 7 pages found