Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
0 votes
1 answer
32 views

Why does the "tk-toolkit" treat the window item differently when the parent is not canvas? When distributing events for example: import tkinter as tk def enter_event(event): print(f'...
0 votes
2 answers
69 views

I'd like to get the HMENU of a tk Menu for setting its background color using the SetMenuInfo function from the Windows API (setting it using configure() only affects the menu items' background, but ...
0 votes
1 answer
57 views

I'm trying to be able to select multiple entries in a tkinter GUI, the same way you can in fileExplorer. I can select multiple using shift+click, and ctrl+click, but either+arrows don't work. I did ...
0 votes
1 answer
64 views

I'm trying to draw a grid in the turtle, but doing so requires knowing the positions of the corners of the screen. turtle.goto(0, 0) does not move the turtle to the middle of the screen; instead, it ...
2 votes
0 answers
92 views

I am trying to implement a flow layout in a ScrollableFrame from customtkinter. Specifically, instead of managing letters, the layout needs to manage small Frames in which names are written. I have to ...
0 votes
1 answer
103 views

A few years back I hacked together a tk script to listen for events from frigate and show the camera feed for a few seconds when someone was at the door. It worked without much effort until I updated ...
2 votes
2 answers
133 views

The following [mre]: import tkinter as tk root = tk.Tk() cnvs = tk.Canvas(root) cnvs.pack() labl = tk.Label(cnvs, text='hello world') laid = cnvs.create_window(0,0,window=labl,anchor='nw', tags=str(...
Thingamabobs's user avatar
  • 8,229
0 votes
1 answer
118 views

I have an application that divides the main window in two: Left: a canvas, where a map will be displayed Right: a frame, where several other frames will share space and one of them will be shown ...
Tooling
0 votes
5 replies
137 views

I am a newbie in Python. My assignment requires me to use a graphical interface, and I plan to use tkinter for this purpose. However, I find manually typing code too complicated. Could any expert ...
Yanbing's user avatar
0 votes
1 answer
124 views

I have a script called GUI running two tkinter windows and I've been able to kill my program from within the script by creating a function for it def gui_kill(): root.destroy() win.destroy() ...
Paxton's user avatar
  • 11
2 votes
1 answer
78 views

I'm using DateEntry from tkcalendar. The problem is that I can only change the month and year the first time. When I try to change the year or month a second time, the calendar immediately disappears. ...
2 votes
1 answer
85 views

I'm trying to have an IntVar object move from one script to another via a function that calls the second script when the toplevel window created in the second script is destroyed main script: from ...
2 votes
1 answer
100 views

I’m making a GUI application in Python using Tkinter that reads text out loud from PDF, DOCX, TXT, and images using gTTS. The program works, but sometimes Tkinter window becomes unresponsive and shows ...
0 votes
1 answer
105 views

When I have 2 images loaded in tkinter even though they are in a different position, only one of them shows up so I assume that one of them is deleting/replacing each other. how do i fix it? import ...
0 votes
0 answers
72 views

Whenever I'm using mss I'm trying to take a screenshot of part of my program in which I would create an array of x and y values of nodes and find the minimum and maximums of those x, y values then ...
Alex's user avatar
  • 1

15 30 50 per page
1
2 3 4 5
...
3514

AltStyle によって変換されたページ (->オリジナル) /