t.w.i.b.ContactsList : class documentation

Part of twisted.words.im.basechat View Source View In Hierarchy

A GUI object that displays a contacts list.
Instance VariableschatuiThe GUI chat client associated with this contacts list. (type: ChatUI )
contactsThe contacts. (type: dict mapping str to a IPerson provider )
onlineContactsThe contacts who are currently online (have a status that is not OFFLINE). (type: dict mapping str to a IPerson provider )
clientsThe signed-on clients. (type: list of IClient providers )
Method __init__
Method setContactStatus Inform the user that a person's status has changed.
Method registerAccountClient Notify the user that an account client has been signed on to.
Method unregisterAccountClient Notify the user that an account client has been signed off or disconnected from.
Method contactChangedNick Update your contact information to reflect a change to a contact's nickname.
def __init__(self, chatui): (source)
ParameterschatuiThe GUI chat client associated with this contacts list. (type: ChatUI )
def setContactStatus(self, person): (source)
Inform the user that a person's status has changed.
ParameterspersonThe person whose status has changed. (type: IPerson provider )
def registerAccountClient(self, client): (source)
Notify the user that an account client has been signed on to.
ParametersclientThe client being added to your list of account clients. (type: IClient provider )
def unregisterAccountClient(self, client): (source)
Notify the user that an account client has been signed off or disconnected from.
ParametersclientThe client being removed from the list of account clients. (type: IClient provider )
def contactChangedNick(self, person, newnick): (source)
Update your contact information to reflect a change to a contact's nickname.
ParameterspersonThe person in your contacts list whose nickname is changing. (type: IPerson provider )
newnickThe new nickname for this person. (type: str )
API Documentation for Twisted, generated by pydoctor at 2012-02-14 18:17:43.