global my_frame
my_frame = Frame(tab2, bg="white")
my_frame.place(relwidth= 0.81, relheight= 0.8, relx=0.1, rely=0.1,)
text_scroll = Scrollbar(my_frame)
text_scroll.pack(side=RIGHT, fill=Y)
the text entry
global textbox
textbox = Text(my_frame,undo=True,font=12, yscrollcommand=text_scroll.set)
textbox.place(relwidth= 0.985, relheight= 1, relx=0, rely=0)
text_scroll.config(command=textbox.yview)
the dropdown menu i want to be able to select the font
clicked = StringVar()
clicked.set(12)
drop = OptionMenu(tab2,clicked, 1,2,3,4,5,6,7,8,9,10,11,12,13,14)
drop.pack()
My problem is i dont know how to say to the text size to set deppending on what number the user did select. Please help.