Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
WoW
Talk
English
Views
Read
Edit
History
More
Search
Navigation
Home
Random page
Help using wiki
Editions
for WoW
for WildStar
for Solar2D
Documentation
for WoW
for WildStar
Reference
WoW
⦁ FrameXML
⦁ AddOns
⦁ API
⦁ WoW Lua
WildStar
⦁ AddOns
⦁ API
⦁ WildStar Lua
Engine
Tools
What links here
Related changes
Special pages
Page information
Site
Recent Changes
Editing
WoW:World of Warcraft API
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Chat Window === These are functions which are specific to chat 'window' management. See also the [[#Channel]] and [[#Communication]] sections. See [[World of Warcraft API/Mikk's spiel on chat windows|Mikk's spiel on chat windows]], which may be out of date. :{{id|API|AddChatWindowChannel}}(chatFrameIndex, "channel") - Make a chat channel visible in a specific ChatFrame. :{{id|API|AddChatWindowMessages}} - Adds a messaging group to the specified chat window. :{{id|API|ChangeChatColor}}(channelname,r,g,b) - Update the color for a type of chat message. :UI {{id|API|ChatFrame|AddChannel|f=1}}(chatFrame, "channelName") - Activate channel in chatFrame. :UI {{id|API|ChatFrame|AddMessageEventFilter|f=1}}("event", filterFunc) - Add a chat message filtering function (added 2.4) :UI {{id|API|ChatFrame|GetMessageEventFilters|f=1}}("event") - Retreive the list of chat message filtering functions. (added 2.4) :UI {{id|API|ChatFrame|OnHyperlinkShow|f=1}}(reference, link, button) - called when the user clicks on a chatlink. :UI {{id|API|ChatFrame|RemoveMessageEventFilter|f=1}}("event", filterFunc) - Unregister a chat message filtering function (added 2.4) :{{id|API|GetAutoCompleteResults}}("text", include, exclude, maxResults[, cursorPosition]) - Returns possible player names matching a given prefix string and specified requirements. :{{id|API|GetChatTypeIndex}}(type) - Get the numeric ID of a type of chat message. :{{id|API|GetChatWindowChannels}}(index) - Get the chat channels received by a chat window. :{{id|API|GetChatWindowInfo}}(index) - Get setup information about a chat window. :{{id|API|GetChatWindowMessages}}(index) - Get the chat message types received by a chat window. :{{id|API|JoinChannelByName}}("channel"[, "password"[, frameId]]) - Join the specified chat channel, with optional password, and register for specified frame. (updated 1.9) :{{id|API|LoggingChat}}(newState) - Gets or sets whether logging chat to Logs\WoWChatLog.txt is enabled. :{{id|API|LoggingCombat}}(newState) - Gets or sets whether logging combat to Logs\WoWCombatLog.txt is enabled. :{{id|API|RemoveChatWindowChannel}}(chatFrameIndex, "channel") - Make a chat channel invisible (hidden) in a specific ChatFrame. :{{id|API|RemoveChatWindowMessages}}(chatFrameIndex,"messageGroup") - Remove a set of chat messages from this window. These functions get applied after reload ui (index 1 is General and index 2 is Combat Log): :{{id|API|SetChatWindowAlpha}}(index,alpha) - Sets the Alpha value(transparency) of ChatFrame<index> (alpha - 0-100) :{{id|API|SetChatWindowColor}}(index,r,g,b) - Sets the background color of a a chat window. (r/g/b - 0-255) :{{id|API|SetChatWindowDocked}}(index,docked) - Set whether a chat window is docked. (docked - 0/1) :{{id|API|SetChatWindowLocked}}(index,locked) - Sets ChatFrame<index> so that it is or is not movable. (locked - 0/1) :{{id|API|SetChatWindowName}}(index,"name") - Sets the name of ChatFrame<index> to <"name">. :{{id|API|SetChatWindowShown}}(index,shown) - Shows or Hides ChatFrame<index> depending on value of <shown> (shown - 0/1) :{{id|API|SetChatWindowSize}}(index,size) - Sets the font size of a chat window. (size - default 14) :{{id|API|SetChatWindowUninteractable}}(id, isUninteractable) - (added 3.0.8)
Summary:
Please note that all contributions to AddOn Studio are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
AddOn Studio Wiki:Copyrights
for details).
Submissions must be written by you, or copied from a public domain or similar free resource (see
AddOn Studio Wiki:Copyrights
for details).
Cancel
Editing help
(opens in new window)