title: Python Tkinter Toplevel not the active window
body: <p>I have a Python Program that opens a Toplevel window which is working I just wanted to know if there is an option to set the Toplevel window window to be active once it has been opened because at the moment it is still showing the parent window as the active window after opening it.</p>
  
  <p>The python code (Python 3.4.1)</p>
  
  <pre><code>from tkinter import *
  
  class cl_gui:
  
      def __init__(self, master):
  
          master.title("DataBox")
  
          menu = Menu(master)
          master.config(menu=menu)
  
          menu_users = Menu(menu, tearoff=0)
          menu.add_cascade(label="Users", menu=menu_users)
          menu_users.add_command(label="View", command=self.f_openUsers)
  
      def f_openUsers(self):
  
          top = Toplevel()
          top.title("Users")
  
  root = Tk()
  app = cl_gui(root)
  
  root.mainloop()
  </code></pre>