def open_chat_window(self, username, real_name, avatar):
    cw = ChatWindow(self, real_name, username, avatar)
def open_chat_window(self, username, real_name, avatar):
    cw = ChatWindow(self, real_name, username, avatar)