o1=OptionMenu(calc, conicvalue,
" Circle ",
" Ellipse ",
" Parabola ",
" Hyperbola ",
" Straight Line ")
o1.place(x=10, y=350)
o1.config(bg='#2a2d36', fg="#fff", activebackground='#2a2d36', activeforeground='#fff', width=87, borderwidth=0, border=0)
o1["menu"].config(fg='#2a2d36', bg="#fff", activebackground='white', activeforeground='black')
o1["menu"].add_command(label=conicvalue.get())
conicvalue.set("Various Conic Sections")
This is what i've coded however not getting the choice displayed upon the optionmenu. How to fix the issue?
I tried to make an optionmenu which worked well when that was a single app however stop working since i merged the window with another tkinter window.