WoW API: ExpandCurrencyList

From AddOn Studio
Revision as of 01:24, 8 November 2009 by WoWWiki>Starlightblunder (Created page with '{{wowapi}} Alters the expanded state of a currency list header. ExpandCurrencyList(id, expanded) == Arguments == ; id : Number - Index of the header in the currency list to exp…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

WoW API < ExpandCurrencyList

Alters the expanded state of a currency list header.

ExpandCurrencyList(id, expanded)

Arguments

id
Number - Index of the header in the currency list to expand/collapse.
expanded
Number - 0 to set to collapsed state; 1 to set to expanded state.

Notes

  • This function affects the isExpanded return value of the GetCurrencyListInfo API function, but has no immediate impact on the currency UI (which caches the expanded state when it is shown).
  • Currencies under collapsed headers are still available to GetCurrencyListInfo, so this is a purely visual switch.