twisted.words.im.basechat.ChatUI class documentationtwisted.words.im.basechat
(View In Hierarchy)
Known subclasses: twisted.words.test.test_ircsupport.StubChatUI
A GUI chat client.
| Instance Variable | conversations | A cache of all the direct windows. (type: dictofConversation) | 
| Instance Variable | groupConversations | A cache of all the group windows. (type: dictofGroupConversation) | 
| Instance Variable | persons | A cache of all the users associated with this client. (type: dictwith keys that are atupleof 
(str,IAccountprovider) and values that areIPersonprovider) | 
| Instance Variable | groups | A cache of all the groups associated with this client. (type: dictwith keys that are atupleof 
(str,IAccountprovider) and values that areIGroupprovider) | 
| Instance Variable | onlineClients | A list of message sources currently online. (type: listofIClientproviders) | 
| Instance Variable | contactsList | A contacts list. (type: ContactsList) | 
| Method | __init__ | Undocumented | 
| Method | registerAccountClient | Notify the user that an account has been signed on to. | 
| Method | unregisterAccountClient | Notify the user that an account has been signed off or disconnected. | 
| Method | getContactsList | Get the contacts list associated with this chat window. | 
| Method | getConversation | For the given person object, return the conversation window or create and return a new conversation window if one does not exist. | 
| Method | getGroupConversation | For the given group object, return the group conversation window or create and return a new group conversation window if it doesn't exist. | 
| Method | getPerson | For the given name and account client, return an instance of a IGroupprovider or create and return a new instance of aIGroupprovider. | 
| Method | getGroup | For the given name and account client, return an instance of a IGroupprovider or create and return a new instance of aIGroupprovider. | 
| Method | contactChangedNick | For the given person, change theperson'snametonewnickand tell the contact list and any
conversation windows with thatpersonto change as well. | 
Notify the user that an account has been signed off or disconnected.
| Parameters | client | The client account for the person who has just signed off. (type: IClientprovider) | 
Get the contacts list associated with this chat window.
| Returns | The contacts list associated with this chat window. (type: ContactsList) | |
For the given person object, return the conversation window or create and return a new conversation window if one does not exist.
| Parameters | person | The person whose conversation window we want to get. (type: IPersonprovider) | 
| The kind of conversation window we want. If the conversation window for this person didn't already exist, create one of this type. | ||
| stayHidden | Whether or not the conversation window should stay hidden. (type: bool) | |
| Returns | The conversation window. (type: IConversationprovider) | |
For the given group object, return the group conversation window or create and return a new group conversation window if it doesn't exist.
| Parameters | group | The group whose conversation window we want to get. (type: IGroupprovider) | 
| The kind of conversation window we want. If the conversation window for this person didn't already exist, create one of this type. | ||
| stayHidden | Whether or not the conversation window should stay hidden. (type: bool) | |
| Returns | The group conversation window. (type: IGroupConversationprovider) | |
For the given name and account client, return an instance of a IGroup 
provider or create and return a new instance of a IGroup 
provider.
| Parameters | name | The name of the person of interest. (type: str) | 
| client | The client account of interest. (type: IClientprovider) | |
| Returns | The person with that name. (type:IPersonprovider) | |
For the given name and account client, return an instance of a IGroup 
provider or create and return a new instance of a IGroup 
provider.
| Parameters | name | The name of the group of interest. (type: str) | 
| client | The client account of interest. (type: IClientprovider) | |
| Returns | The group with that name. (type:IGroupprovider) | |
For the given person, change the person's 
name to newnick and tell the contact list and any
conversation windows with that person to change as well.
| Parameters | person | The person whose nickname will get changed. (type: IPersonprovider) | 
| newnick | The new namepersonwill take. (type:str) |