WoW:API AddChatWindowChannel: Difference between revisions
Jump to navigation
Jump to search
(Created page with '{{wowapi}} Makes messages from a specified chat channel output in a specific chat frame. AddChatWindowChannel(windowId, "channelName"); == Arguments == ; windowId : Number - in…') |
m (Move page script moved page API AddChatWindowChannel to API AddChatWindowChannel without leaving a redirect) |
(No difference)
|
Latest revision as of 04:45, 15 August 2023
← WoW API < AddChatWindowChannel
Makes messages from a specified chat channel output in a specific chat frame.
AddChatWindowChannel(windowId, "channelName");
Arguments[edit]
- windowId
- Number - index of the chat window/frame (ascending from 1) to add the channel to.
- channelName
- String - name of the chat channel to add to the frame.
Details[edit]
- A single channel may be configured to display in multiple chat windows/frames.
- Chat output architecture has changed since release; calling this function alone is no longer sufficient to add a channel to a particular frame in the default UI. Use ChatFrame_AddChannel(chatFrame, "channelName") instead, like so:
ChatFrame_AddChannel(ChatWindow1, "Trade"); -- DEFAULT_CHAT_FRAME works well, too