Relative Content

Tag Archive for pythontkintercustomtkinter

Maximum recursion depth exceeded while drawing windows in tkinter

I am trying to make an app with Tkinter and CustomTkinter and sometimes it fails saying that ir has reached the maximum recursion depth. The error usually happens when rescaling a view and less often when openning new windows. The following example fails when rescaling:

Trying to use tkinterdnd but I can’t load tkinter library in Python

I want to drag and drop items onto the gui. I believe thats possible with tkinter? But whenever I try to run this, I get this error. Also stackoverflow is so annoying. I need to add more text for what? This is literally everything you need to know. Theres not even a submit button after it says to review and I got to refresh the page and retype everything. :

The splash screen isn’t centering exactly according to the screen size

I’m using Custom Tkinter to create a splash screen. I wanted to center the splash screen both horizontally and vertically. I tried the following code, but it didn’t work. The splash screen is not exactly centered. I’ve also attached a screenshot. Please check it and let me know your suggestions. Thanks!