I know that Tkinter is just a thin layer over Tcl / Tk. Tkinter, you can do several things to change the style of the window. One example is root.attributes('-toolwindow', True). This will change the window style as well as the tool window. However, I want to go a little below level.
I suspect that at some point, Tcl / Tk will refresh windows window styles . I am sure that this would have to do this in order to set the window style and finally the Tkinter styling style. I am trying to give a Tkinter window that I am sure is WS_DLGFRAME style . However, I am not sure how to approach this.
I am wondering where in the Tcl / Tk part of Tkinter it assigns window styles and what I need to add in order to get this style.
The ultimate goal is to get a Tkinter window border style that looks like below (note that it lacks the exit button):

This is on Windows 7, BTW.
source
share