I'm a little confused as to how this function works. I want to have the master window be a separate toplevel I create.
tk.NoDefaultRoot()
root = tk.Tk()
root.master = tk.Toplevel()
root.mainloop()
If I attempt to do something like this I get an attribute error:
AttributeError: 'NoneType' object has no attribute 'tk'
Is there a way to do something like this?