Пример #1
0
 def __init__(self, person, chatui):
     """ConversationWindow(basesupport.AbstractPerson:person)"""
     Conversation.__init__(self, person, chatui)
     self.mainframe = JFrame("Conversation with " + person.name)
     self.display = JTextArea(columns=100, rows=15, editable=0, lineWrap=1)
     self.typepad = JTextField()
     self.buildpane()
     self.lentext = 0
Пример #2
0
 def __init__(self, person, chatui):
     """ConversationWindow(basesupport.AbstractPerson:person)"""
     Conversation.__init__(self, person, chatui)
     self.mainframe = JFrame("Conversation with "+person.name)
     self.display = JTextArea(columns=100,
                              rows=15,
                              editable=0,
                              lineWrap=1)
     self.typepad = JTextField()
     self.buildpane()
     self.lentext = 0
Пример #3
0
 def contactChangedNick(self, person, newnick):
     Conversation.contactChangedNick(self, person, newnick)
     self.mainframe.setTitle("Conversation with " + newnick)
Пример #4
0
 def sendText(self, text):
     self.displayText("\n" + self.person.client.name + ": " + text)
     Conversation.sendText(self, text)
Пример #5
0
 def contactChangedNick(self, person, newnick):
     Conversation.contactChangedNick(self, person, newnick)
     self.mainframe.setTitle("Conversation with "+newnick)
Пример #6
0
 def sendText(self, text):
     self.displayText("\n"+self.person.client.name+": "+text)
     Conversation.sendText(self, text)