tkcalendar

Python Tkinter ttk calendar

夙愿已清 提交于 2019-12-10 11:06:03
问题 I am trying to create a drop down calendar for a date entry. Below is a portion of my code: The drop down portion of it dosen't work and I can't seem to find the syntax for DateEntry() of ttk calendar anywhere to include the calendar widget option! #creating the frame from tkinter import * from tkcalendar import * root = Tk() f1=Frame(root,width=1500,height=100,relief=SUNKEN,bd=4,bg='light steel blue') f1.pack(side=TOP) f2=Frame(root,width=1500,height=550,relief=SUNKEN,bd=4,bg='white') f2