def __init__(self, **kwargs):
    super().__init__(**kwargs)
    self.title('Tk Chat')
    self.geometry('700x500')
    self.menu = tk.Menu(self, bg='lightgrey', fg='black', tearoff=0)
    self.friends_menu = tk.Menu(self.menu, fg='black', bg='lightgrey', tearoff=0)
    self.friends_menu.add_command(label='Add Friend', command=self.show_add_friend_window)
    self.avatar_menu = tk.Menu(self.menu, fg='black', bg='lightgrey', tearoff=0)
    self.avatar_menu.add_command(label='Change Avatar', command=self.change_avatar)
    self.menu.add_cascade(label='Friends', menu=self.friends_menu)
    self.menu.add_cascade(label='Avatar', menu=self.avatar_menu)
    self.requester = Requester()
    self.show_login_screen()
def __init__(self, **kwargs):
    super().__init__(**kwargs)
    self.title('Tk Chat')
    self.geometry('700x500')
    self.menu = tk.Menu(self, bg='lightgrey', fg='black', tearoff=0)
    self.friends_menu = tk.Menu(self.menu, fg='black', bg='lightgrey', tearoff=0)
    self.friends_menu.add_command(label='Add Friend', command=self.show_add_friend_window)
    self.avatar_menu = tk.Menu(self.menu, fg='black', bg='lightgrey', tearoff=0)
    self.avatar_menu.add_command(label='Change Avatar', command=self.change_avatar)
    self.menu.add_cascade(label='Friends', menu=self.friends_menu)
    self.menu.add_cascade(label='Avatar', menu=self.avatar_menu)
    self.requester = Requester()
    self.show_login_screen()