Changelog¶
tkcalendar 1.4.0¶
New features
<<CalendarMonthChanged>>
virtual event: event generated each time the user changes the displayed monthCalendar.get_displayed_month()
method: return the currently displayed month in the form of a (month, year) tuple.
New Calendar options
- showothermonthdays: show/hide the last and first days of the previous and next months
Bug fixes
- Fix handling of style option in DateEntry
- Fix display of events for January days showing on December and conversely
tkcalendar 1.3.0¶
New feature
- Add possibility to display special events (like birthdays, ..) in the calendar. The events are displayed with colors defined by tags and the event description is displayed in a tooltip (see Calendar Events)
New Calendar options
- showwekknumbers: show/hide week numbers
- firstweekday: first week day (‘monday’ or ‘sunday’)
Bug fixes
- No longer set locale globally to avoid conflicts between several instances, use babel module instead
- Make
DateEntry
compatible with more ttk themes, especially OSX default theme
tkcalendar 1.2.0¶
New Calendar options
- textvariable: connect the currently selected date to the given
StringVar
- state: ‘normal’ or ‘disabled’
- disabledselectbackground, disabledselectforeground, disableddaybackground and disableddayforeground: configure colors when Calendar is disabled
Bug fixes
- Fix
DateEntry
behavior in readonly mode - Make
Calendar.selection_get()
always return adatetime.date
tkcalendar 1.1.4¶
Bug fixes
- Fix error in january due to week 53
- Fix
DateEntry
for ttk themes other than ‘clam’
tkcalendar 1.1.3¶
Bug fixes
- Make
DateEntry
support initialisation with partial dates (e.g. just year=2010) - Improve handling of wrong year-month-day combinations
tkcalendar 1.1.0¶
Bug fixes
- Fix display of the first days of the next month
- Increment year when going from December to January
New widget
DateEntry
, date selection entry with drop-down calendar
New Calendar options
- borderwidth: width of the border around the calendar (integer)
- othermonthbackground: background color for normal week days belonging to the previous/next month
- othermonthweforeground: foreground color for week-end days belonging to the previous/next month
- othermonthwebackground: background color for week-end days belonging to the previous/next month
tkcalendar 1.0.0¶
Initial version