0

In my app created by tkinter, an optionmenu appears and I wanted to detach it with a border.

Here is the code:

from tkinter import *
from tkinter import ttk
root = Tk()
toplvl = Toplevel()
var = StringVar(root)
var.set("one")
option = ttk.OptionMenu(toplvl,var,"one","two","three",)
option.pack()
root.mainloop()
eyllanesc
  • 235,170
  • 19
  • 170
  • 241
nasg4
  • 1
  • 3
  • plz add some more info are you facing any error ? if yes then add those errors in your question – Vicky Salunkhe Jan 18 '20 at 21:17
  • Does this answer your question? [How to make border around ttk.OptionMenu](https://stackoverflow.com/questions/51534878/how-to-make-border-around-ttk-optionmenu) – stovfl Jan 19 '20 at 09:53

0 Answers0