Subject: | Protect user from ending with a cleared title bar |
Maybe tell the user before you set the titlebar if he allows you to
change the titlebar and that you cannot set it back to what it was.
Or provide a get_titlebar method and set title back.
Or ask him what the title is so that you can set it back.
Otherwise user may be frustrated by losing the secret word he chose to
put into the titlebar. Or not finding the window again, etc.