I have been searching for awhile but cannot find the answer to my question. I have a TkRoot window that when a button is clicked, a new TkToplevel window is created. I don't want the user to be able to get focus of the TkRoot window until the TkToplevel window is closed. Much like a dialog box. I could probably catch the FocusOut event on the TkToplevel window and grab focus again but that seems like a hacked way to do it. Is there an easier way? -- Posted via http://www.ruby-forum.com/.