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

Libra

Game Version: 10.0.0
Total Downloads: 1,872
Updated: Nov 9, 2022
Created: Feb 20, 2014
download LibraDownload Earlier Versions

Earlier Versions

Name Size Uploaded Game Version Downloads
v1.1.0 release 26.71 KB Nov 9, 2022 10.0.0 15 download Libra v1.1.0 releaseDownload
r51-alpha alpha 26.93 KB Oct 15, 2020 9.0.1 81 download Libra r51-alpha alphaDownload
r50-alpha alpha 26.91 KB Oct 15, 2020 7.3.5 14 download Libra r50-alpha alphaDownload
r49-alpha alpha 26.87 KB Sep 1, 2017 7.3.0 143 download Libra r49-alpha alphaDownload
r48-alpha alpha 26.83 KB Aug 31, 2017 7.3.0 36 download Libra r48-alpha alphaDownload
r47-alpha alpha 26.62 KB Aug 30, 2017 7.3.0 31 download Libra r47-alpha alphaDownload
r46-alpha alpha 26.53 KB Apr 20, 2017 7.2.0 58 download Libra r46-alpha alphaDownload
r41 alpha 21.85 KB Aug 11, 2016 6.0.3 103 download Libra r41 alphaDownload
r40 alpha 21.81 KB Aug 9, 2016 6.0.3 33 download Libra r40 alphaDownload
r39 alpha 21.78 KB Aug 9, 2016 6.0.3 28 download Libra r39 alphaDownload
r38 alpha 21.69 KB Jul 30, 2016 6.0.3 35 download Libra r38 alphaDownload
r37 alpha 19.11 KB Oct 4, 2015 6.0.3 72 download Libra r37 alphaDownload
r36 alpha 19.02 KB Feb 17, 2015 6.0.3 87 download Libra r36 alphaDownload
r34 alpha 19.54 KB Dec 2, 2014 6.0.3 50 download Libra r34 alphaDownload
r33 alpha 19.50 KB Nov 18, 2014 6.0.3 42 download Libra r33 alphaDownload
r32 alpha 19.78 KB Nov 16, 2014 6.0.3 42 download Libra r32 alphaDownload
r31 alpha 19.83 KB Nov 13, 2014 6.0.3 59 download Libra r31 alphaDownload
r30 alpha 19.81 KB Nov 13, 2014 6.0.3 54 download Libra r30 alphaDownload
r29 alpha 18.48 KB Oct 24, 2014 6.0.2 67 download Libra r29 alphaDownload
r28 alpha 18.50 KB Oct 17, 2014 6.0.2 64 download Libra r28 alphaDownload
r27 alpha 18.45 KB Oct 15, 2014 6.0.2 51 download Libra r27 alphaDownload
r26 alpha 18.38 KB Aug 17, 2014 5.4.8 57 download Libra r26 alphaDownload
r25 alpha 18.84 KB Jul 31, 2014 5.4.8 39 download Libra r25 alphaDownload
r24 alpha 17.56 KB Jul 26, 2014 5.4.8 42 download Libra r24 alphaDownload
r23 alpha 17.44 KB Jul 18, 2014 5.4.8 40 download Libra r23 alphaDownload
r22 alpha 17.35 KB Jul 15, 2014 5.4.8 40 download Libra r22 alphaDownload
r21 alpha 17.31 KB Jul 15, 2014 5.4.8 34 download Libra r21 alphaDownload
r20 alpha 17.28 KB Jul 15, 2014 5.4.8 34 download Libra r20 alphaDownload
r19 alpha 17.33 KB Jul 12, 2014 5.4.8 27 download Libra r19 alphaDownload
r18 alpha 16.87 KB Jul 3, 2014 5.4.8 26 download Libra r18 alphaDownload
r17 alpha 16.46 KB Jun 30, 2014 5.4.8 23 download Libra r17 alphaDownload
r16 alpha 11.69 KB Jun 16, 2014 5.4.8 29 download Libra r16 alphaDownload
r15 alpha 11.23 KB Jun 12, 2014 5.4.8 21 download Libra r15 alphaDownload
r14 alpha 11.19 KB Jun 12, 2014 5.4.8 21 download Libra r14 alphaDownload
r13 alpha 9.81 KB Mar 31, 2014 5.4.7 24 download Libra r13 alphaDownload
r12 alpha 9.93 KB Mar 14, 2014 5.4.7 25 download Libra r12 alphaDownload
r11 alpha 9.87 KB Mar 14, 2014 5.4.7 24 download Libra r11 alphaDownload
r10 alpha 9.74 KB Mar 5, 2014 5.4.2 17 download Libra r10 alphaDownload
r9 alpha 9.69 KB Mar 4, 2014 5.4.2 25 download Libra r9 alphaDownload
r8 alpha 9.78 KB Feb 28, 2014 5.4.2 21 download Libra r8 alphaDownload
r7 alpha 9.77 KB Feb 28, 2014 5.4.2 15 download Libra r7 alphaDownload
r6 alpha 9.75 KB Feb 28, 2014 5.4.2 22 download Libra r6 alphaDownload
r5 alpha 9.72 KB Feb 28, 2014 5.4.2 22 download Libra r5 alphaDownload
r4 alpha 8.70 KB Feb 22, 2014 5.4.2 20 download Libra r4 alphaDownload
r3 alpha 7.88 KB Feb 21, 2014 5.4.2 20 download Libra r3 alphaDownload
r2 alpha 7.76 KB Feb 20, 2014 5.4.2 25 download Libra r2 alphaDownload

Description

Share this:

Library to facilitate some common tasks. Not necessarily designed to be infinitely flexible or applicable for any given situation.

local Libra = LibStub("Libra")

Libra:NewAddon(addonName, addonTable)

Table with module and event handling functions.

addonName
String identifying the addon object. should be the same as your addon folder name.
addonTable
An existing table to use as the addon object. If not provided, will create a new table.
local addon = Libra:NewAddon("MyAddon", {})

Libra:EmbedWidgets(target)

Embeds all widget creation functionality on the target table, allowing you to directly create widgets.

local MyAddon = Libra:NewAddon("MyAddon")
Libra:EmbedWidgets(MyAddon)

local dropdown = MyAddon:CreateDropdown("Menu")

Libra:CreateDropdown(type, parent)

Dropdown with a wrapper API around the FrameXML API, working around known taint issues and adding certain features such as scrollable and fully refreshable menus.

type
“Menu” for a standalone menu, “Frame” for a list frame which in turns summons the menu
parent
parent frame if “Frame” type

Libra:CreateEditbox()

Libra:CreateScrollFrame(type, parent, name)

type
“Faux” or “Hybrid”
parent
parent frame
name
frame name

Libra:CreateUIPanel(name)

ButtonFrameTemplate frame closable with escape and pushable by other frames.

name
Name to use for the frame. If not provided, will use an automatically generated name.

Better docs to be written.

Comments

Add a comment