Group - SFX-WoW/Masque GitHub Wiki
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
StaticIDin order to be capable of being renamed.
| Return | Type | Description |
|---|---|---|
Group |
table | A new or existing group object. |
8.2.5 80200
- Replaced
IsActionBarwithStaticIDas the third parameter.
7.2.2 70200
- Added
IsActionBaras the third parameter.