title: Python, Tkinter how to give optionmenu its own windows when pressed
body: <p>I have a drop down menu girded on my calculator and i have it set so that there is 3 menu items. What i want to happen is that when one of the menu items is selected it opens a toplevel window describing that item menu and each one is a different menu because they contain different things how can i code this to happen. Im stuck with setting it so that it opens different window for when a different one is slected.</p>
  
  <pre><code>def change_dropdown(*args):
      top = Toplevel()
      top.title("READ")
      toplabel = Label(top,text= "Lmao", font = ("Helvetica", 13))
      toplabel.grid()
      button = Button(top, text="Dismiss", relief=FLAT, font = ("Helvetica", 10, "bold"), fg = "ghostwhite", bg = "black", width = "30", height = "2", command=top.destroy)
      button.grid()
      top.focus()
  
  
  def popmenu():
      global tkvar
      tkvar = StringVar(master)
  
      choices = {"About","Colour themes", "Contact",}
      popupMenu = OptionMenu(master, tkvar, *choices)
      popupMenu.grid(row = 0, column = 0, columnspan = 5, sticky=W+E+S+N)
      tkvar.set("About") 
      tkvar.trace("w", change_dropdown)
  </code></pre>