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

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

A GUI window of a conversation with a specific person.
Instance VariablespersonThe person who you're having this conversation with. (type: IPerson provider )
chatuiThe GUI chat client associated with this conversation. (type: ChatUI )
Method __init__
Method show Display the ConversationWindow.
Method hide Hide the ConversationWindow.
Method sendText Send text to the person with whom the user is conversing.
Method showMessage Display a message sent from the person with whom the user is conversing.
Method contactChangedNick Change a person's name.
def __init__(self, person, chatui): (source)
ParameterspersonThe person who you're having this conversation with. (type: IPerson provider )
chatuiThe GUI chat client associated with this conversation. (type: ChatUI )
def show(self): (source)
Display the ConversationWindow.
def hide(self): (source)
Hide the ConversationWindow.
def sendText(self, text): (source)
Send text to the person with whom the user is conversing.
ParameterstextThe text to be sent. (type: str )
def showMessage(self, text, metadata=None): (source)
Display a message sent from the person with whom the user is conversing.
ParameterstextThe sent message. (type: str )
metadataMetadata associated with this message. (type: dict )
def contactChangedNick(self, person, newnick): (source)
Change a person's name.
ParameterspersonThe person 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.