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

Documentation for the Line object. Created with LibDropDown:CreateLine().


Line:SetRadioState(state)

Sets the state of a radio button.

  • state: Enables/disables a radio button (boolean)

Line:GetRadioState()

Returns the current boolean state of a radio button.


Line:SetCheckedState(state)

Sets the state of a checkbutton.

  • state: Enables/disables a checkbutton (boolean)

Line:GetCheckedState()

Returns the current boolean state of a checkbutton.


Line:SetIcon(...)

See FrameXML/Util.lua's CreateTextureMarkup


Line:GetIcon()

See FrameXML/Util.lua's CreateTextureMarkup


Line:SetAtlas(...)

See FrameXML/Util.lua's CreateAtlasMarkup


Line:GetAtlas()

See FrameXML/Util.lua's CreateAtlasMarkup


Line:SetText(text)

Sets the Line text.

  • text - text to set on the Line (string)

Line:UpdateText()

Updates the Line text.


Line:SetTexture(texture[, color])

Sets the texture (and optional color) on the Line.

  • texture - texture to set (string)
  • color - color to set (object)

Line:UpdateState()

Updates the displayed state of the line.


Line:Reset()

Resets the state of the Line back to default.
Is called at the start of Menu:UpdateLine().