Tagged Questions
0
votes
1answer
13 views
How can I get the name of a widget in Tkinter?
I have a common callback for a range of buttons.
Once the callback is called, I want to identify the caller by its previously assigned name.
But I could not figure out in the Tkinter documentation how ...
0
votes
1answer
20 views
entries get data from combobox selection using tkinter and python
yesterday I had a problem with a combobox selection which can be seen at the following link:
from combobox selection different result in multiple labels using tkinter,python.
unfortunately I could ...
1
vote
1answer
16 views
Redirecting subprocess stdout
I've set up a stdout redirect using the class Redir in test.py (below).
The output should show both print statements in the textbox. But currently only "Output1" is sent to the textbox and "Output2" ...
0
votes
0answers
15 views
Python Tkinter use to emulate blinking with interaction of multiple buttons
I am looking for a solution to emulate the behavior of the UI of an electronic component and the user interaction (which should be pushing buttons) with LEDs reporting an internal state of the ...
1
vote
2answers
28 views
Tkinter Canvas Flicker
I'm drawing small black and white video frames to a Tkinter canvas using this code (at 10Hz)
self.image.buf = bytearray(header.width * header.height);
self.image.buf[:] = image
self.image.im = ...
0
votes
1answer
17 views
Can't allign combobox to the desired spot on my grid in python
I have started to write a Program in which I used a combobox for the first time and now I want to allign it to the grid. However, my problem is that it always ends up at the very bottom of all my ...
0
votes
2answers
59 views
self.“ ”. after() does not work properly?
I am trying to make a timer to execute a block of code every second let's say, using tkinter in python. But instead of executing the code every second, which is moving a label across a canvas, it ...
0
votes
1answer
20 views
Why doesn't the .bind() method work with a frame widget in Tkinter?
This code is an attempt to bind a command to a frame, ie. when the "Escape" key is pressed, the window should be destroyed.
from tkinter import *
from tkinter import ttk
root=Tk()
...
0
votes
1answer
25 views
calling perl programs from tkinter/ python
I'm thinking of learning Python for building GUIs starting with tkinter. I have some existing libraries in perl that I'd like to call from a Python / tkinter GUI, in order to start relatively ...
0
votes
1answer
17 views
Python tkinter entrybox cursor [duplicate]
I have a tkinter page that will ask for user name and password( 2 entry boxes are used for this purpose). What i want is as soon as user run the script, the cursor should be in the username field(1st ...
1
vote
1answer
31 views
Install Tkinter without root access
I'm having a bit of trouble trying to install Tkinter on a Linux system without having root privileges. According to the second answer to this question: Install Tkinter for Python there is a way, and ...
0
votes
1answer
61 views
Does anyone know this error ? KeyError: 18 [closed]
I'm working withgraphics.py. Its a basic function based "easy" derivative of Tkinter
I'm working on a game and if I try the undraw() method, i get this error
Code has been removed due to privacy ...
6
votes
0answers
224 views
Can't set value with tkinter/python script when using cxfreeze
I have written a program in Python with a tkinter GUI front-end. When this is run from the script there are no issues.
I packaged it using cx_freeze to an exe file and running it from there works for ...
2
votes
2answers
455 views
how to delete tkinter widgets from a window
I have a list of tkinter widgets that I want to change dynamically. How can I go about completely deleting the widgets from my window? Thanks!
0
votes
2answers
913 views
TkInter, slider: how to trigger the event only when the iteraction is complete?
I'm using the slider to update my visualization, but the command updateValue is sent everytime I move the slider thumb, even for intermediate values.
Instead I want to trigger it only when I release ...