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

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

A GUI window of a conversation with a group of people.
Instance Variable chatui The GUI chat client associated with this conversation. (type: ChatUI)
Instance Variable group The group of people that are having this conversation. (type: IGroup provider)
Instance Variable members The names of the people in this conversation. (type: list of str)
Method __init__
Method show Display the GroupConversationWindow.
Method hide Hide the GroupConversationWindow.
Method sendText Send text to the group.
Method showGroupMessage Display to the user a message sent to this group from the given sender.
Method setGroupMembers Set the list of members in the group.
Method setTopic Change the topic for the group conversation window and display this change to the user.
Method memberJoined Add the given member to the list of members in the group conversation and displays this to the user.
Method memberChangedNick Change the nickname for a member of the group conversation and displays this change to the user.
Method memberLeft Delete the given member from the list of members in the group conversation and displays the change to the user.
chatui =
The GUI chat client associated with this conversation. (type: ChatUI)
group =
The group of people that are having this conversation. (type: IGroup provider)
members =
The names of the people in this conversation. (type: list of str)
def __init__(self, group, chatui): (source)
ParameterschatuiThe GUI chat client associated with this conversation. (type: ChatUI)
groupThe group of people that are having this conversation. (type: IGroup provider)
def show(self): (source)
Display the GroupConversationWindow.
def hide(self): (source)
Hide the GroupConversationWindow.
def sendText(self, text): (source)
Send text to the group.
ParametersThe text to be sent.
def showGroupMessage(self, sender, text, metadata=None): (source)
Display to the user a message sent to this group from the given sender.
ParameterssenderThe person sending the message. (type: str)
textThe sent message. (type: str)
metadataMetadata associated with this message. (type: dict)
def setGroupMembers(self, members): (source)
Set the list of members in the group.
ParametersmembersThe names of the people that will be in this group. (type: list of str)
def setTopic(self, topic, author): (source)
Change the topic for the group conversation window and display this change to the user.
ParameterstopicThis group's topic. (type: str)
authorThe person changing the topic. (type: str)
def memberJoined(self, member): (source)
Add the given member to the list of members in the group conversation and displays this to the user.
ParametersmemberThe person joining the group conversation. (type: str)
def memberChangedNick(self, oldnick, newnick): (source)
Change the nickname for a member of the group conversation and displays this change to the user.
ParametersoldnickThe old nickname. (type: str)
newnickThe new nickname. (type: str)
def memberLeft(self, member): (source)
Delete the given member from the list of members in the group conversation and displays the change to the user.
ParametersmemberThe person leaving the group conversation. (type: str)
API Documentation for Twisted, generated by pydoctor at 2013-11-08 22:07:30.