Relative Content

Tag Archive for pythontkinter

How can I killing the mainloop window without causing a _!canvas TclError

fluff
After I watched a whole tutorial on YT on Python, I decided to create a program utilising the Tkinter library, specifically the You Are An Idiot virus (no offense). However, due to the limitations of the library (or my brain), it seems that I cannot utilise multithreading on it, which led me to instead count time using ticks.
end of fluff

How to delete selected row for tkinter grid

I have successfully executed the code without encountering any errors, and it displays the user input data as expected. However, I encountered an issue when attempting to delete a selected row from the tk.grid. The problem I’m facing is that it deletes the last row instead of the user-selected row. I would really appreciate it if you could provide me with some guidance or ideas on how to address this issue.

How to create a tkinter window from another module?

I need to create a new window via Tkinter from another module in another class. However I face such issue:
__init__() missing 1 required positional argument: df
I get the df from another module to this class: