1
vote
1answer
13 views

Tkinter .after method freezing window?

I have a simple chat client that I was attempting to get working with Tkinter as the interface. My problem is that when running the mainloop with .after for the chat input/output, the window freezes ...
1
vote
1answer
21 views

Calling Different Functions tkinter

I'm trying to call different functions based on the inputted text in a Tkinter program. root=Tk() tex=Text(root) tex.pack(side='right') inputfield = Entry(root) inputfield.pack(side='bottom') text = ...
0
votes
1answer
32 views

Press Enter Instead of Clicking Button

I have a skeleton of a program that I want to use: from tkinter import * import urllib import urllib.request import xml.etree.ElementTree as ET root = Tk() def program(): print('Hello') ...
0
votes
1answer
29 views

Displaying images with Tkinter

I am working on a python program that displays a series of images using Tkinter and ImageTk. I have not been able to display more than a single image. Below is the smallest complete program that ...
1
vote
1answer
27 views

How to have different text per button, rather than having it all the same

I want to have 5 different buttons, each labelled A, B, C, D and E accordingly. So far I have: from tkinter import * from tkinter.ttk import * window = Tk() for i in range (5): button = ...
0
votes
1answer
23 views

print the data on window screen and then clear the window screen before printing other data.in python

I can receive serial data and can print on the window screen(Tkinter top).when i receive serial data again, this newly received serial data should start printing on the window screen by wiping out ...
1
vote
1answer
32 views

Can't figure out how to bind the enter key to a function in tkinter

I'm a Python beginning self-learner, running on MacOS. I must be blind, because I've looked everywhere and can't find an answer to this that works... I'm making a prog with a text parser gui in ...
0
votes
1answer
18 views

Inertial scrolling in Mac OS X with Tkinter and Python

I am working on a Python 3.3 project that uses Tkinter as a Window manager. I have mouse scroll wheel events set up for a canvas. The scrolling works in Windows 7, 8, and Ubuntu, but upon scrolling ...
0
votes
3answers
27 views

How to make the definition of Combo box Classes in Tkinter to create a simple calculation

I have a problem trying to create a simple calculation with combo box in tkinter using Classes. For me this is quite tricky, and difficult to understand it! Hope you can help me with this. Thanks in ...
0
votes
1answer
20 views

Increment by 1 for ttk scale

My problem is thatI Have a scale and a spinbox which change each other's values. OFr example if both go from 1 to 100, if I set the scale to 50, the spinbox will also change and vice versa. now I've ...
0
votes
1answer
17 views

spinbox and Scale changing each other's values in Tkinter

For my program I want to have a Horizontal Scale and a Spinbox right next to it that can change each others values. For example, if both go from 1 to 100 and I drag the Scale to 50, I want the number ...
0
votes
1answer
34 views

Python File Upload If statement and user cancelation

I have the following file upload code. I want to modify this code for two things: 1.If the user cancels the askopenfilenames command, the overall entire program will stop. 2.If the user does not ...
1
vote
3answers
26 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
33 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
22 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" ...

1 2 3 4 5 172
15 30 50 per page