Customize CalendarButton / Datepicker function

There are two things I'd like to change / add to the current CalendarButton, or rather the Datepicker itself:

First, I'd like the week to start on Monday, instead of Sunday.

Second, I'd like to highlight a date based on the target input.
(if target is empty, select today's date.)

​

I'm still new to Python (4 months coding on the side).
For the first option I did find line # 2521 in PySimpleGUI.py that seems to control the start day. However, I have no idea how I could override that part and add in the date highlight without messing things up...

Any help would be greatly appreciated!

Thanks!

Posted Mar 10, 2020, 5:05 PM UTC

31
MikeTheWatchGuy•

Working on a completely new date chooser window that's PySimpleGUI based.

If you've got ideas, open or add to an Enhancement Issue on the GitHub.

1