1

I am able to customize colours of all portions of the Calendar except for its buttons.

Image of Customized Calendar here

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

Update: Was able to make the buttons more visually appealing by changing the style theme to 'clam', but extensive customization is still not possible.

Screenshot New calendar image:

New calendar image

toyota Supra
  • 3,181
  • 4
  • 15
  • 19
Lazyy
  • 23
  • 6
  • Does this answer help? https://stackoverflow.com/questions/61493630/is-there-a-way-to-change-tkcalendars-color – toyota Supra May 03 '23 at 09:24
  • Please provide enough code so others can better understand or reproduce the problem. – Community May 03 '23 at 14:16
  • 1
    @toyota Supra Yes, I was able to change the button colour so that its more visually appealing when I changed the theme to 'clam', but extensive customization of the button is still not possible. – Lazyy May 03 '23 at 14:54
  • 1
    Thankyou @toyota Supra for helping! – Lazyy May 03 '23 at 14:57
  • It is my pleasure to help. – toyota Supra May 03 '23 at 15:39
  • 1
    The buttons are instances of `ttk.Button()` and linked with style `"L..TButton"` (left arrow) and `"R..TButton"` (right arrow) where `` is the result of `str(cal)` (`cal` is the instance of calendar). So you can configure those styles to change the color of the buttons. – acw1668 May 03 '23 at 16:01

0 Answers0