tkinter Questions
11
I've created a couple of buttons using my program and I've made them include images. However, I wish to now remove the border that remains (see https://i.sstatic.net/K128c.png for screenshot).
The...
19
I'm getting this error :
Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Python34\lib\tkinter\__init__.py", line 1538, in __call__
return self.func(*args)
File &...
Psf asked 5/4, 2016 at 18:54
4
Solved
Final Edit:
What I found on the subject of closing pyplot windows is that it really probably shouldn't be done using pyplot. SRK gives a great example on how to handle plots that will be updated ...
Regular asked 21/6, 2012 at 14:51
2
Solved
What is the easy method to update Tkinter progress bar in a loop?
I need a solution without much mess, so I can easily implement it in my script, since it's already pretty complicated for me.
Let...
Filiate asked 9/4, 2016 at 12:3
7
In my project, I am receiving some data occasionally from the serial port and display some data on a Tkinter window depending on the received data. I want to minimize my Tkinter window and perform ...
Brummett asked 12/8, 2015 at 5:31
1
File "project.py", line 5, in <module>
from tkinter.filedialog import askopenfilenames
ModuleNotFoundError: No module named 'tkinter'
This is always happens when I want to run my...
Auberbach asked 8/2, 2022 at 15:39
4
Solved
I am wanting to create a virtual pet style game using python3 and tkinter. So far I have the main window and have started putting labels in, but the issue I am having is playing an animated gif. I ...
Seavir asked 3/5, 2017 at 22:12
4
Solved
I have been trying to put the image from https://betacssjs.chesscomfiles.com/bundles/web/favicons/safari-pinned-tab.f387b3f2.svg into a Tkinter frame. I found from the post here that it is possible...
Agraphia asked 1/5, 2019 at 22:45
6
Solved
I have multiple Tkinter listboxes that I have scrolling together using a single scrollbar, but I'd ALSO like them to scroll together for mousewheel activity over any of the listboxes.
How to do t...
Backwoods asked 1/11, 2010 at 6:17
4
Solved
I'm just starting with a small tkinter tree program in python 3.4.
I'm stuck with returning the first value of the row selected.
I have multiple rows with 4 columns and I am calling a function on l...
3
Solved
Lets say I have created a canvas in a Tkinter app.
In the canvas, I have drawn several rectangles.
What I want in essence, is to know in which rectangle the user has clicked, that is my main conc...
Equiponderance asked 29/9, 2011 at 19:2
9
Solved
I have a GUI made with TKinter in Python. I would like to be able to display a message when my mouse cursor goes, for example, on top of a label or button. The purpose of this is to explain to the ...
4
Solved
I want to create a GUI in tkinter with two Frames, and have the bottom Frame grayed out until some event happens.
Below is some example code:
from tkinter import *
from tkinter import ttk
def en...
5
Solved
I am making a tkiner application and that shows a user a page with some basic information and a picture before allowing them to click a button to view live Bitcoin price data. However, when I added...
Adria asked 27/7, 2016 at 2:11
3
Solved
I'm trying to make a button like a switch, so if I click the disable button
it will disable the "Button" (that works). And if I press it again, it will enable it again.
I tried things like if, els...
3
class MainGUI(Tkinter.Tk):
# some overrides
# MAIN
gui = MainGUI(None)
gui.mainloop()
But I need to do some cleanup when the window is closed by the user. Which method in Tkinter.Tk can I ove...
Prurigo asked 2/6, 2010 at 1:13
3
Solved
How do I get the width and height of a Tkinter window?
14
Solved
Python works on multiple platforms and can be used for desktop and web applications, thus I conclude that there is some way to compile it into an executable for Mac, Windows and Linux.
The problem...
Booking asked 5/8, 2008 at 22:26
8
Solved
elif(listb[0] == "-test"):
run_all.set("testview")
listb.pop[0]
ERROR: Exception in Tkinter callback Traceback (most recent call
last): File
"/tools/python/2.7.2/lib/py...
3
2
Solved
Several Tk widgets also exist in Ttk versions. Usually they have the same general behaviour, but use "styles" and "themes" rather than per-instance appearance attributes (such as bg, etc...). This ...
Alienate asked 9/11, 2017 at 11:24
3
Solved
here's the issue I'm thinking of:
I have a number of similar widgets in the frame(e.g. Lables). I update them every iteration of the algorithm (using root.update() in the relevant function. What I...
9
Solved
Running Python 3.4 on Windows 7.
I need to copy what's stored in the clipboard to a variable in my python program. I've seen on Stack Overflow that that can be done either with pywin32 or tkinter. ...
Balanchine asked 3/7, 2014 at 17:12
5
Solved
I have a snippet which creates an OptionMenu widget.
...
options = ('White', 'Grey', 'Black', 'Red', 'Orange',
'Yellow', 'Green', 'Blue', 'Cyan', 'Purple')
var = StringVar()
optionmenu = Option...
Became asked 12/4, 2011 at 2:27
3
I have a ttk Entry which is in "disabled" state.
The background color of the entry field while disabled is a light blue shade.
How can i change it to the default grey color? From this post i unders...
© 2022 - 2024 — McMap. All rights reserved.