Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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:

image text in transcribed

Then, when you click on a day, a dialog will appear:

image text in transcribed

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 Cancel

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database In Depth Relational Theory For Practitioners

Authors: C.J. Date

1st Edition

0596100124, 978-0596100124

More Books

Students also viewed these Databases questions

Question

Discuss the techniques of job analysis.

Answered: 1 week ago

Question

How do we do subnetting in IPv6?Explain with a suitable example.

Answered: 1 week ago

Question

Explain the guideline for job description.

Answered: 1 week ago

Question

What is job description ? State the uses of job description.

Answered: 1 week ago

Question

What are the objectives of job evaluation ?

Answered: 1 week ago