Customize the background color and text color of a customTkinter window title bar

137 Views Asked by At

For my application, I'd like the native customkinter bar to change color and the text color too. I found a lot of weird libraries that did this, but it didn't work. For your information, because it's important to my problem, my operating system is Window10.

To help you with my problem, I'll give you the code for the initialization method of my class:

import customkinter

class FenetreLogin(customtkinter.CTk):
    def __init__(self):
        super().__init__();
        
        self.geometry("700x680");
        self.title("Exportation_Fanny v1");
        self.initial_width = 650;
        labelAuteur = customtkinter.CTkLabel(master=self,font=("",20,'underline'),text="Made By Lucas Desperrois");
        labelAuteur.pack(anchor="n",pady=10)
        self.resizable(width=False,height=False)
        self.fenetreConnexion = self.frameConnexion();
        self.browser1=None;
0

There are 0 best solutions below