CustomTkinter icon indicating copy to clipboard operation
CustomTkinter copied to clipboard

i cant change theme in option menu

Open NasserMashpery opened this issue 1 year ago • 1 comments

i need update for option menu to change theme backgrounde

NasserMashpery avatar Jun 11 '24 12:06 NasserMashpery

By default, customtkinter allows only one theme at a time.

If you want to give multiple options to the user, create separate json files and then set them as theme using the following function:

customtkinter.set_default_color_theme("dark-blue")

Although, this might be built in and @TomSchimansky should look into this issue.

Helpful links:

  1. Themes: https://customtkinter.tomschimansky.com/documentation/color

  2. Packing with themes: https://customtkinter.tomschimansky.com/documentation/packaging

Regards.

dipeshSam avatar Jun 11 '24 13:06 dipeshSam