Skip to content
This repository has been archived by the owner on Jul 7, 2024. It is now read-only.
CI edited this page Oct 3, 2022 · 5 revisions

Documentation for the Button object. Created with LibDropDown:NewButton().

For all intents and purposes, this is the equivalent to UIDropDownMenuButtonTemplate.


Button:Add(...)

See Menu:AddLines().


Button:Remove(...)

See Menu:RemoveLine().


Button:Clear()

See Menu:ClearLines()


Button:Toggle()

See Menu:Toggle().


Button:SetAnchor(...)

See Menu:SetAnchor(point, anchor, relativePoint, x, y).


Button:GetAnchor()

See Menu:GetAnchor().


Button:SetAnchorCursor(flag)

See Menu:SetAnchorCursor(flag).


Button:IsAnchorCursor()

See Menu:IsAnchorCursor().


Button:SetStyle(...)

See Menu:SetStyle(name).


Button:GetStyle()

See Menu:GetStyle().


Button:SetJustifyH(...)

See Widget:SetJustifyH.


Button:GetJustifyH()

See Widget:GetJustifyH.


Button:SetText(...)

See Widget:SetText.


Button:GetText()

See Widget:GetText.


Button:SetFormattedText(...)

See Widget:SetFormattedText.


Button:SetCheckAlignment(...)

See Menu:SetCheckAlignment(...).