About 2,450,000 results
Open links in new tab
  1. python - Switch between two frames in tkinter? - Stack Overflow

    Understanding parent and controller in Tkinter __init__ Tkinter! Understanding how to switch frames How to get variable data from a class Calling functions from a Tkinter Frame to another …

  2. What is the best way to structure a Tkinter application?

    Jul 4, 2013 · This prevents global namespace pollution, plus it makes the code completely obvious when you are using Tkinter classes, ttk classes, or some of your own. The main …

  3. How to center a window on the screen in Tkinter? - Stack Overflow

    Jul 28, 2010 · I'm trying to center a tkinter window. I know I can programatically get the size of the window and the size of the screen and use that to set the geometry, but I'm wondering if …

  4. python - Tkinter: How to use threads to preventing main event …

    Jan 30, 2017 · I tried following along to A. Rodas' example code which works beautifully. But I cannot figure out how to implement his solution in the case of a Button widget that triggers an …

  5. How do I handle the window close event in Tkinter?

    Sep 21, 2008 · Depending on the Tkinter activity, and especially when using Tkinter.after, stopping this activity with destroy() -- even by using protocol (), a button, etc. -- will disturb this …

  6. python - How do I close a tkinter window? - Stack Overflow

    The question was about closing a tkinter window, not a program that uses tkinter.

  7. python - How to easily avoid Tkinter freezing? - Stack Overflow

    I developed a simple Python application doing some stuff, then I decided to add a simple GUI using Tkinter. The problem is that, while the main function is doing its stuff, the window …

  8. oop - How to make the tkinter window responsive with the …

    Jun 2, 2021 · And when the same GUI program is open in another monitor screen of same size, the some part of the window gets cut off -- Look of the gui window in another pc monitor But I …

  9. Trying to fix tkinter GUI freeze-ups (using threads)

    Nov 29, 2018 · Once a tkinter-based GUI program has hung, you can no longer manipulate it, period, because it's no longer processing events. Note that tkinter doesn't support threading, …

  10. Can I change the title bar in Tkinter? - Stack Overflow

    I'm using Tkinter as GUI for my program, but as I see, many programs don't have standard look as Tkinter does. By standard look I mean standard title bar, borders, etc. For example, …