$toplevel->overrideredirect(1); # To bring the decorations back, you would call it with a 0: #$toplevel->overrideredirect(0);