-
-
Notifications
You must be signed in to change notification settings - Fork 11
Group
StormFX edited this page Dec 13, 2022
·
1 revision
The Group
method of Masque's API returns a reference to a new or existing group object. This reference can then be used to interact with Masque's Group API.
-- Establish a reference to Masque.
local Masque, MSQ_Version = LibStub("Masque", true)
-- Create or return a group object.
local MSQ_Group = Masque:Group("Addon", "Bar 1")
{Group} = {Masque}:Group("Addon" [, "Group" [, "StaticID"]])
Parameter | Type | Required | Description |
---|---|---|---|
Addon |
string | Yes | The name of the add-on that the group is assigned to. |
Group |
string | No | The name of the sub-group that buttons are assigned to. |
StaticID |
string | No | A static string identifier that allows the group to be renamed. |
Notes
- Groups must have a
StaticID
in order to be capable of being renamed.
Return | Type | Description |
---|---|---|
Group |
table | A new or existing group object. |
8.2.5 80200
- Replaced
IsActionBar
withStaticID
as the third parameter.
7.2.2 70200
- Added
IsActionBar
as the third parameter.
Wiki
• Home
Project
• Contributors
• History
Reference
⚬ Masque API
• API_VERSION
• AddSkin
• AddSpellAlert
• AddType
• GetBackdrop
• GetDefaultSkin
• GetGloss
• GetGroupByID
• GetNormal
• GetShadow
• GetSlotIcon
• GetSkin
• GetSkins
• GetSpellAlert
• Group
• Register
• SetEmpty
• UpdateCharge
• UpdateSpellAlert
⚬ Group API
⚬ Regions
Skins
• Skin List
Mirrors
• CurseForge
• Wago.io
• Wow Interface