def METHOD_NAME(self) -> None:
    ip6 = self.ip6_entry.get()
    if not ip6 or not netaddr.valid_ipv6(ip6):
        messagebox.showerror("IPv6 Error", f"Invalid IPv6 {ip6}")
    else:
        self.ip6_listbox.listbox.insert(tk.END, ip6)