Questions tagged [tkcalendar]

tkcalendar is a python module that provides the Calendar and DateEntry widgets for Tkinter. The DateEntry widget is similar to a Combobox. Events can be displayed in the Calendar with custom colors and a tooltip displays the event list for a given day. tkcalendar is compatible with both Python 2 and Python 3. It supports many locale settings (e.g. ‘fr_FR’, ‘en_US’, ..) and the colors are customizable.

tkcalendar is a module that provides the Calendar and DateEntry widgets for . The DateEntry widget is similar to a Combobox. Events can be displayed in the Calendar with custom colors and a tooltip displays the event list for a given day. tkcalendar is compatible with both Python 2 and Python 3. It supports many locale settings (e.g. ‘fr_FR’, ‘en_US’, ..) and the colors are customizable.

Resources

110 questions
2
votes
3 answers

Removing 'Week Number' column in Calendar Widget in Python

I have a simple Calendar and DateEntry widget from tkcalendar in Python which is working fine and displaying results as attached below. I do not want it to display the Week Number column in the calendar [or the extra bottom row with the next…
Garima Tiwari
  • 1,490
  • 6
  • 28
  • 46
1
vote
0 answers

tkcalendar: dateEntry being blocked from view unless clicked multiple times

Firstly, I will apologise for the bad explanation because I do not really understand the issue. However, in any of my programs when I use a dateEntry, it will at first be covered, and requires multiple clicks to get rid of this cover and to show the…
funkykitty
  • 11
  • 3
1
vote
0 answers

How to change button colours of Calendar widget of tkcalendar?

I am able to customize colours of all portions of the Calendar except for its buttons. How can I customize colours for the buttons too? I read through the documentation to change the colours but I could not find how to customize the…
Lazyy
  • 23
  • 6
1
vote
1 answer

How to display with a random word List the same random word on a specific date

Im making a Calendar App with Python Tkinter and I have already found out how to save a user input to a date and how to display it. So I'm trying to make a daily Quote Button. But for that it should on one date always display the same Quoete because…
1
vote
1 answer

Import "tkcalendar" could not be resolved

I am building a GUI on TKinter and wanted to include a calendar to pick dates. I had imported tkcalendar and followed he steps mentioned in its documentation to install tkcalendar. But, it shows a problem while running the code in VSCode while…
Nisarg Kudgunti
  • 91
  • 1
  • 2
  • 10
1
vote
0 answers

TkCalendar goes out of screen when trying to select date in Python DateEntry

I am facing an issue where when I want to select a date from a tkCalendar using DateEntry but the the Calendar goes out of screen. Image showing Calendar goes out of screen I saw a few solutions which I have added the link to below. Tkcalendar:…
Ruchi M
  • 11
  • 1
1
vote
1 answer

Pyinstaller everything works on local machine but fails on another

Having used Pyinstaller to build my application the .exe file works without problems on my development PC (Windows 10 64 Bit). If try to run the program on my other PC (Also Windows 10 64 Bit) I get an error: . I have tried both onefile and folder…
hhartvig
  • 11
  • 1
1
vote
0 answers

tkcalendar always show traceback error when I run it

I am trying to make a date picker with tkcalendar, but everytime I try to run it, its always show me this error Traceback (most recent call last): File "C:\Python\Django\UJT\test.py", line 1, in from tkcalendar import * File…
1
vote
1 answer

Select date range with Tkinter

I'm trying to make a tkinter app where the user can select a date range. The Tkcalendar library only allows to select 1 day, is there a way to select multiple continuous days? Thank you very much
1
vote
0 answers

How do I store the date from a tkinter calendar in a variable?

I have the following work in progress code where I am trying to have a user input a date from a calendar, but I am very new to using tkinter,tkcalendar so I am not sure how to get the input to store as a variable that I can pass along to use…
1
vote
1 answer

How to get background for cell in tkcalendar?

I have this calendar and I want to get the background color for selected cell how I can do that? Current_Date = str(datetime.today()) Current_Date=Current_Date[0:10].split('-') cal = Calendar(root, selectmode="day", year=int(Current_Date[0]), …
1
vote
1 answer

Behaviour of DateEntry in Tkinter Window

I have a button that adds a DateEntry widget to a scrollable frame. Unfortunately, the frame is at the bottom of the window, so after adding a few rows, the dropdown calendar hides behind the task bar. Is there any way to change it, so the calendar…
Vik
  • 137
  • 1
  • 8
1
vote
1 answer

Tkinter Date Picker

I am working on a program using Tkinter. I would like to create GUI to select Start date and End date and create a graph based on that. As of now, I just have a simple graph using this code. Attached is my csv file for which I want to create a…
1
vote
1 answer

tkinter Button callback function not being called

I want to make a simple household account program using tkinter module in python. I want to bind okclick function to button1. I think I coded appropriate referencing other codes but when I execute this code there happens a message that the function…
mumu
  • 11
  • 3
1
vote
1 answer

How to set language of months to Polish for a tkcalendar DateEntry?

Like in the title, how to set language of months to Polish in tkcalendar's DateEntry? DateEntry(lbf,width=12,bg="darkblue",fg="white",year=1990,state="readonly", date_pattern="yyyy-mm-dd",textvariable=two)
Maria
  • 117
  • 9