All Questions
Tagged with tkinter python-3.x
11,051 questions
2
votes
1
answer
21
views
unable to dynamically access ".variable" attribute of a ttk.RadioButton (python3)
I am new to SO, in python and in tkinter.
You’ll find below a summary version of a code I try to run to dynamically access variables and values of a group of ttk widgets. When I click on the submit ...
0
votes
0
answers
43
views
Aggregate cell values in Pandastable
I have a dataframe being displayed in a TKinter GUI as a table using pandastable. I would like to select multiple numerical cells and have a label at the bottom which aggregates (sums) the selected ...
0
votes
1
answer
49
views
How to reserve space with specified width and height in Label in Tkinter?
I'm trying to make a small gallery program in Python for personal use but couldn't succeed yet. The problem I'm having is, reserving spaces with specified sizes in pixel (128, 128) that will be ...
0
votes
1
answer
65
views
Combobox fieldbacground change python
import tkinter as tk
from tkinter import ttk
class ComboboxColorChanger:
def __init__(self, root):
self.root = root
self.root.title("Combobox Color Change")
self....
0
votes
2
answers
62
views
Python simpledialog location and hide blank
This is my code
import tkinter as tk
from tkinter import simpledialog
root = tk.Tk()
# root.withdraw()
root.geometry("340x100+50+500")
user_input = simpledialog.askfloat(title="输入框"...
0
votes
0
answers
27
views
Creating and Exiting a Thread that Runs http.server on a Tinter Window
I've been trying to end a thread in python with no result. The main problem is that when I set an IP like '127.0.0.1' and a port like 8080 as a proxy server on the Tkinter app it runs normally. but ...
0
votes
1
answer
71
views
How to drag and drop items across frames in tkinter?
I have a tkinter gui which displays some nodes in levels.
The levels are split into frames and on each frame the nodes are placed as per a level dictionary defined in the class Viewer.
I want to drag ...
0
votes
0
answers
45
views
TKinter Dropdown options values
I have a Tkinter dropdown with these options:
OPTIONS = [
"ME",
"MA",
]
How can I use the equivalent of an HTML SELECT which offers a display and a value for each ...
1
vote
1
answer
98
views
MacOS points to old tkinter gives blank screen
This seems to be a perennial question about getting MacOS to point to the correct version of tkinter. I have a very simple python script that draws to the canvas from geeksforgeeks.
from tkinter ...
0
votes
0
answers
28
views
displaying image during sign up issue [duplicate]
Good evening,
I am currently having issue with displaying an image in my python chat app. I can get it working fine in part on another file but once I try to make it work in the original application ...
0
votes
0
answers
54
views
Add entry to tkinter without window border
I'm creating a borderless window like this
def _create_window(self):
if self.current_window is not None:
return
self.mouse_listener = MouseListener(
...
0
votes
0
answers
60
views
Try to exhibit PDF but didn't show
I want to exhibt a PDF file in a tk window but the window is not opening and no Exception is raised
import tkinter as tk
from tkPDFViewer import tkPDFViewer as pdf
cur_file='PPC_Bach.Eng_.-de-...
0
votes
1
answer
102
views
Inserting a column in TKinter using the row where the add column button is placed
I have produced a GUI where I can dynamically add new rows to the table using a button attached to the code below (there is also one to remove the row, but I don't think it's needed here).
I then have ...
1
vote
1
answer
46
views
widgets not filling entire frame using Tkinter
Here is my code -
import tkinter as tk
from tkinter import ttk
from tkinter import messagebox
root = tk.Tk()
root.title("Food shopping")
root.geometry('800x500')
root.columnconfigure(0, ...
0
votes
1
answer
41
views
reposition checkbox in Tkinter
I have the below code -
import tkinter as tk
from tkinter import ttk
from tkinter import messagebox
def main():
app = Application()
app.mainloop()
class Application(tk.Tk):
def ...