This video covers how to change the title bar cover of apps in tkinter.
Жүктеу.....
Пікірлер: 27
@FeyzSHB Жыл бұрын
Super gemacht! Wir brauchen mehr advanced Videos über Ctk. Danke dir!
@qeq16710 ай бұрын
thank you i have been looking for a solution for many days
@sarthaksingh7570 Жыл бұрын
This was the video that I have been searching for over a month... But I found none... Thank u very much for this video...😅😅😅🤗🤗🤗
@lega_pugliese2 ай бұрын
thanks a lot for sharing this
@Knight_Sky35 Жыл бұрын
Hello, can you make a video about switching frames in tkinter?
@akash604 Жыл бұрын
Please do more videos on customtkinter animation !!
@user-wg9ed1nj6b Жыл бұрын
Can anyone confirm if DwmSetWindowAttribute is only usable in windows 11?
@Saucehero2910 ай бұрын
how to create new window in custom tkinter and and the new window has the same style with the first window?
@sarthaksingh7570 Жыл бұрын
Actually i was making a scrollable frame in custom tkinter to make chat bot but when I added any message it does not scroll the frame automatically... Pls help me...
@user-wg9ed1nj6b Жыл бұрын
it doesn't works on me, I can't figure out the problem...
@MrMoon-hy6pn
11 ай бұрын
Looking at the DWM documentation I think setting the border colour (and a few other things) using DwmSetWindowAttribute isn't supported in windows 10, only windows 11 from build 22000 onwards. If you are using windows 10 like I am it may be the issue unfortunately. It's weird that it just quitely fails for me, with no sort of warning in the python console.
@JimmySquiky
4 ай бұрын
@@MrMoon-hy6pn Doesn't work for me too. I'm also using windows 10, version 19045.4046
@yuriishestopalov8168
12 күн бұрын
I'm very deep into my project and have lots of code so I cant change it to ctk and using tk, might be the reason it doesn't work for me
@btngana207710 ай бұрын
sadly only works on windows 11
@heyyounotyouyou3761 Жыл бұрын
You are a good content creator but there just aren't many people using tkinter. You have to expand your horizons it you really wanna grow
@WhoTookNeverBleach
Жыл бұрын
His other channel has 138k lmao
@heyyounotyouyou3761
Жыл бұрын
@@WhoTookNeverBleach wait, he has another channel?
@SenaZephyr
Жыл бұрын
@@heyyounotyouyou3761 Yea ClearCode
@__MerchantАй бұрын
Or make a fake title bar which takes less time to figure out.
@ranyanuka44909 ай бұрын
isn't this a clear code video?
@it_is_random8 ай бұрын
Please someone help me the code doesn''t work: import customtkinter as ctk from ctypes import windll, byref, sizeof, c_int window = ctk.CTk(fg_color="#FF0000") window.geometry("800x500") HWND = windll.user32.GetParent(window.winfo_id()) title_bar_colour = 0x00FF0000 windll.dwmapi.DwmSetWindowAttribute(HWND, 36, byref(c_int(title_bar_colour)), sizeof(c_int)) window.mainloop()
@BunnitownMain
3 ай бұрын
maybe its because it only works on windows 11+
@it_is_random
3 ай бұрын
@@BunnitownMain Yeah fixed it. my one is cross platform works everywhere I mean in all windows.
Пікірлер: 27
Super gemacht! Wir brauchen mehr advanced Videos über Ctk. Danke dir!
thank you i have been looking for a solution for many days
This was the video that I have been searching for over a month... But I found none... Thank u very much for this video...😅😅😅🤗🤗🤗
thanks a lot for sharing this
Hello, can you make a video about switching frames in tkinter?
Please do more videos on customtkinter animation !!
Can anyone confirm if DwmSetWindowAttribute is only usable in windows 11?
how to create new window in custom tkinter and and the new window has the same style with the first window?
Actually i was making a scrollable frame in custom tkinter to make chat bot but when I added any message it does not scroll the frame automatically... Pls help me...
it doesn't works on me, I can't figure out the problem...
@MrMoon-hy6pn
11 ай бұрын
Looking at the DWM documentation I think setting the border colour (and a few other things) using DwmSetWindowAttribute isn't supported in windows 10, only windows 11 from build 22000 onwards. If you are using windows 10 like I am it may be the issue unfortunately. It's weird that it just quitely fails for me, with no sort of warning in the python console.
@JimmySquiky
4 ай бұрын
@@MrMoon-hy6pn Doesn't work for me too. I'm also using windows 10, version 19045.4046
@yuriishestopalov8168
12 күн бұрын
I'm very deep into my project and have lots of code so I cant change it to ctk and using tk, might be the reason it doesn't work for me
sadly only works on windows 11
You are a good content creator but there just aren't many people using tkinter. You have to expand your horizons it you really wanna grow
@WhoTookNeverBleach
Жыл бұрын
His other channel has 138k lmao
@heyyounotyouyou3761
Жыл бұрын
@@WhoTookNeverBleach wait, he has another channel?
@SenaZephyr
Жыл бұрын
@@heyyounotyouyou3761 Yea ClearCode
Or make a fake title bar which takes less time to figure out.
isn't this a clear code video?
Please someone help me the code doesn''t work: import customtkinter as ctk from ctypes import windll, byref, sizeof, c_int window = ctk.CTk(fg_color="#FF0000") window.geometry("800x500") HWND = windll.user32.GetParent(window.winfo_id()) title_bar_colour = 0x00FF0000 windll.dwmapi.DwmSetWindowAttribute(HWND, 36, byref(c_int(title_bar_colour)), sizeof(c_int)) window.mainloop()
@BunnitownMain
3 ай бұрын
maybe its because it only works on windows 11+
@it_is_random
3 ай бұрын
@@BunnitownMain Yeah fixed it. my one is cross platform works everywhere I mean in all windows.
@itallocortez
3 ай бұрын
@@it_is_random How did you make it work? >
@it_is_random
3 ай бұрын
@@itallocortez import ctypes as ct from tkinter import * root = Tk() root.update() root.iconify() DWWMA_USE_IMMERSIVE_DARK_MODE = 20 set_window_attribute = ct.windll.dwmapi.DwmSetWindowAttribute get_parent = ct.windll.user32.GetParent hwnd = get_parent(root.winfo_id()) renduring_policy = DWWMA_USE_IMMERSIVE_DARK_MODE value = 1 value = ct.c_int(value) set_window_attribute(hwnd, renduring_policy, ct.byref(value), ct.sizeof(value)) root.update_idletasks() root.deiconify() root.mainloop()
@synchrom7502
2 ай бұрын
@@it_is_random bro say please, how did you fix this??? please)