Changelog¶
tkcalendar 1.6.1¶
Bug fixes
tkcalendar 1.6.0¶
New options
Bug fixes
- Fix
DateEntry
cursor customization which had no effect - Fix vanishing of the drop-down calendar on any click when grab_set is used
- Temporarily fix python issue 38661 (#61)
- Fix always on top bug using resizable (#62)
tkcalendar 1.5.1¶
Bug fixes
- Fix calendar drop-down not in front issue if window has the
-topmost
attribute in Windows (#49) - Make
Calendar.config()
andDateEntry.config()
accept a dictionary like standard tkinter widgets - Fix calendar not hiding when clicking again on
DateEntry
drop-down button in Windows (#51) - Fix maxdate disabled while it sould be the latest allowed date (#50)
tkcalendar 1.5.0¶
New features
Calendar.see()
method: make sure given date is visible- Make locale option editable after the creation of the
Calendar
New options
- disabledforeground and disabledbackground: colors of calendar border and month/year name in disabled state
- maxdate and mindate: set an allowed date range for date selection
- weekenddays: choose the days colored as week-end days (#37)
- date_pattern: customize the date format
Bug fixes
- Make
Calendar.selection_clear()
actually clear the selection - Fix
ValueError
when retrieving default locale - Fix date parsing error in Swedish locale and some others (#44)
- Improve compliance with ttk themes by make the
DateEntry
look like attk.Combobox
(#42) - Fix high CPU issues in Windows (#36)
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 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 features
- 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) (#19)
New options
- showwekknumbers: show/hide week numbers (#18)
- firstweekday: first week day (‘monday’ or ‘sunday’) (#25)
Bug fixes
tkcalendar 1.2.0¶
New options
- textvariable: connect the currently selected date to the given
StringVar
(#6) - 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
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¶
New widget
DateEntry
: date selection entry with drop-down calendar
New 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: back
Bug fixes
- Fix display of the first days of the next month
- Increment year when going from December to January
tkcalendar 1.0.0¶
- Initial version