Question
could you help me again to this question? using python because the question I read for the past post from others is not working. Thank
could you help me again to this question? using python because the question I read for the past post from others is not working. Thank you
Develop a widget class Calendar that implements a GUI-based calendar application. The Calendar constructor should take as input three arguments: the master widget, a year, and a month(using numbers 1 through 12). For example, Calendar(root, 2012, 2) should create a Calendar widget within the master widget root. The Calendar widget should display the calendar page for the given month and year, with a button for every day:
Then, when you click on a day, a dialog will appear:
this dialog gives you an entry field to enter an appointment. When you click button "OK", the dialog window will disappear. However, when you click the same day button in the main calendar window again, the dialog window should reappear together with the appointment information. You may use the askstring function from the module tknter.simpledialog for the dialog window. It takes the window title and label as input and returns whatever the user typed. For example, the last dialog window was created with the function call askstring('example', 'Enter text') When the user clicks OK, the string typed in the entry box is returned by this function call. The function can also take an optional argument initialvalue that takes a string and puts it in the entry field:
askstring('example', 'Enter text', initialvalue='appt with John')
Sat Sun 4 5 tk Mon Tue Wed Thu Fri 1 2 3 6 7 8 9 10 13 14 15 16 17 20 21 23 24 27 28 29 11 12 18 19 22 25 26 example Enter text dentist app OK CancelStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started