Top "Tkinter" questions

Tkinter is the standard Python interface to the "Tk" graphical user interface toolkit.

Python Tkinter Embed Matplotlib in GUI

I'm trying to embed a plot in my Tkinter GUI coded in Python. I believe the code below succeeds in …

python canvas grid matplotlib tkinter
How to make a OptionMenu maintain the same width?

I have a snippet which creates an OptionMenu widget. ... options = ('White', 'Grey', 'Black', 'Red', 'Orange', 'Yellow', 'Green', 'Blue', 'Cyan', 'Purple') …

python tkinter optionmenu
When to use pack or grid layouts in tkinter?

Are there any best practice tips regarding when one should use pack vs. grid for their layouts? From what I've …

python user-interface layout tkinter ttk
tkinter askdirectory()

File move based on last update. Using button 3 only, I am missing a slash at the end of the directory. …

python tkinter taskdialog
Tkinter Not Found

I'm running Windows 7 32-bit. I've installed Python 3.2.2 and selected every module for installation (including Tcl/Tk). On my computer, I …

python python-3.x tkinter python-3.3 importerror
Display directory content with tkinter Treeview widget

At the moment I am working on a program that has its own project files and inside that are like …

python treeview tkinter tk
ImportError: No module named '_tkinter', please install the python3-tk package

I've already gone through all the similar questions in this regard and tried the solutions proposed there. But I'm unable …

python-3.x matplotlib tkinter ubuntu-16.04 importerror
Hide the console of an .exe file created with PyInstaller

I want to make my program executable. I used TkInter to write the GUI, and I read somewhere that you …

python tkinter exe
Tkinter look (theme) in Linux

I know that Tkinter is not so modern, not so cool and maybe better to use PyQt or etc. But …

python linux ubuntu tkinter ttk
What is the difference between root.destroy() and root.quit()?

In Python using tkinter, what is the difference between root.destroy() and root.quit() when closing the root window? Is …

python tkinter