class documentation

class twisted.words.im.basechat.ContactsList: (source)

View In Hierarchy

A GUI object that displays a contacts list.

Instance Variable chatui The GUI chat client associated with this contacts list.
Instance Variable contacts The contacts.
Instance Variable onlineContacts The contacts who are currently online (have a status that is not OFFLINE).
Instance Variable clients The signed-on clients.
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.
chatui = (source)
The GUI chat client associated with this contacts list.
(type: ChatUI)
contacts = (source)
The contacts.
(type: dict mapping str to a IPerson provider)
onlineContacts = (source)
The contacts who are currently online (have a status that is not OFFLINE).
(type: dict mapping str to a IPerson provider)
clients = (source)
The signed-on clients.
(type: list of IClient providers)
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 20.12.1 at 2021-02-28 19:53:36.