(Solved) : Somebody Help Python 3 2 Develop Widget Class Calendar Implements Gui Based Calendar Appli Q42737050 . . .

Somebody help me!!! python 3

2. Develop widget class Calendar that implements a GUI-based calendar application. The Calendar constructor should take as in

2. Develop widget class Calendar that implements a GUI-basedcalendar application. The

Calendar constructor should take as input three arguments: themaster 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.

2. Develop 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 tk Thu Mon Tue Wed Fri Sat Sun 6 000 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 Then, when you click on a day, a dialog will appear: A example Enter text dentist app OK Cancel Hints, you can use the function monthrange from calendar module to get the start weekday and total number of days for a particular month 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 module tkinter.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 initial value that takes a string and puts it in the entry field: askstring(‘example’, ‘Enter text’, initialvalue=’appt with John’) Show transcribed image text 2. Develop 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 tk Thu Mon Tue Wed Fri Sat Sun 6 000 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 Then, when you click on a day, a dialog will appear: A example Enter text dentist app OK Cancel Hints, you can use the function monthrange from calendar module to get the start weekday and total number of days for a particular month 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 module tkinter.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 initial value that takes a string and puts it in the entry field: askstring(‘example’, ‘Enter text’, initialvalue=’appt with John’)

Expert Answer


Answer to Somebody help me!!! python 3 2. Develop widget class Calendar that implements a GUI-based calendar application. The Cale…

Leave a Comment

About

We are the best freelance writing portal. Looking for online writing, editing or proofreading jobs? We have plenty of writing assignments to handle.

Quick Links

Browse Solutions

Place Order

About Us