Changelog

tkcalendar 1.6.1

Bug fixes

  • Fix typo in DateEntry that lead to position issues for the drop-down (#66)

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() and DateEntry.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 a ttk.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 month
  • Calendar.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.1

Bug fixes

  • Fix bug in day selection when firstweekday is ‘sunday’ (#28)

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

  • No longer set locale globally to avoid conflicts between several instances, use babel module instead (#15)
  • Make DateEntry compatible with more ttk themes, especially OSX default theme (#16)

tkcalendar 1.2.1

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

tkcalendar 1.1.5

Bug fixes

  • Fix endless triggering of <<ThemeChanged>> event in DateEntry (#9)

tkcalendar 1.1.4

Bug fixes

  • Fix error in January due to week 53
  • Fix DateEntry for ttk themes other than ‘clam’ (#3)

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.2

Bug fixes

  • Fix bug after destroying a DateEntry
  • Fix bug in style and font

tkcalendar 1.1.1

Bug fixes

  • Fix bug when content of DateEntry is not a valid date

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