Alright, so I was exploring GUI libraries, specifically Tkinter, when I encountered a problem.
I was trying to make a frameless window – a window without the top bar with all the options and stuff – and the only method I found online was root.overrideredirect(1) or root.ovverrideredirect(True). Yeah, there were some reddit posts that suggested using another method that made the window end up looking like a splash screen. Tried of course, didn’t work. Visual Studio Code on Macbook Pro btw. I wanted to center the window using root.geometry, which failed and in fact made the window smaller. The window when created would stick at the top left corner of my screen.
I searched YouTube, StackOverflow questions, etc. No result on anything. I’m a python noob, so maybe I just had no clue what they were talking about. Big chunk of code here, big chunk of code there. My question is how do I center the window while keeping it frameless, is it impossible, or is root.overrideredirect just completely destroys root functions apart from its size, etc.
Also I wanna know if custom font files – like a Minecraft font, anything – can be used in tkinter windows. Thx in advance.
Paulio Gaming is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.