WoW:API ChatFrame AddChannel: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
({{framexmlfunc|FrameXML/ChatFrame.lua}} __NOTOC__) |
||
Line 1: | Line 1: | ||
{{framexmlfunc|FrameXML/ChatFrame.lua}} __NOTOC__ | |||
ChatFrame_AddChannel(chatFrame, 'channelName'); | ChatFrame_AddChannel(chatFrame, 'channelName'); | ||
Order a chat frame to display a previously-joined chat channel | |||
== Parameters == | == Parameters == | ||
Line 9: | Line 10: | ||
:(chatFrame, 'channelName') | :(chatFrame, 'channelName') | ||
:;chatFrame : | :;chatFrame : Object - the chat frame to display the channel in | ||
:;channelName : String - The name of the chatchannel to activate. | :;channelName : String - The name of the chatchannel to activate. | ||
Line 18: | Line 19: | ||
== Example == | == Example == | ||
ChatFrame_AddChannel(DEFAULT_CHAT_FRAME, "test"); | |||
Revision as of 13:41, 5 September 2006
← WoW API < ChatFrame:AddChannel
This function is implemented in Lua here FrameXML/ChatFrame.lua.
ChatFrame_AddChannel(chatFrame, 'channelName');
Order a chat frame to display a previously-joined chat channel
Parameters
Arguments
- (chatFrame, 'channelName')
- chatFrame
- Object - the chat frame to display the channel in
- channelName
- String - The name of the chatchannel to activate.
Returns
- retCode
- retCode
- Number - ?
Example
ChatFrame_AddChannel(DEFAULT_CHAT_FRAME, "test");