WoW:API GetNumDisplayChannels: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(Page created)
 
mNo edit summary
Line 1: Line 1:
{{wowapi}}
  channelCount = GetNumDisplayChannels();
  channelCount = GetNumDisplayChannels();


Line 7: Line 8:
----
----
<small>This is part of the [[World of Warcraft API]]</small>
<small>This is part of the [[World of Warcraft API]]</small>
[[Category:World of Warcraft API]]

Revision as of 21:22, 12 August 2008

WoW API < GetNumDisplayChannels

channelCount = GetNumDisplayChannels();

This function returns the number of channels and headers currently displayed by ChannelFrame. Usually used to loop through all available channels/headers to perfom API GetChannelDisplayInfo on them.

Note that this function only retrieves the number of visible channels/headers! Those subchannels that are hidden by a collapsed header are not counted.


This is part of the World of Warcraft API