Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
0 votes
0 answers
19 views

Undo/Redo not working for a Tkinter text widget

I have code for a tkinter text widget using tk and ttkbootstrap: (part of code) usertext = tb.Text(frame,width=95, height=24,borderwidth=textandlineborder,wrap="none",autostyle=False,...
Muhammad Hamza Naveed's user avatar
-3 votes
0 answers
28 views

how to make a video timeline with keyframes using tkinter [closed]

I want to make a functional video timeline that shows keyframes like a video editor using the Python library tkinter. I tried this Python code snipset but it doesn't show key frames; it shows many ...
Abdelhak Seghiour's user avatar
0 votes
1 answer
26 views

tkinter: what is the difference between transient() and wm_transient()?

Using tkinter in Python. Created a dialog box from tk.Toplevel() After reading various posts and docs: self.resizable(width=False, height=False) self.wm_transient(self._mainwin) self....
JohnA's user avatar
  • 763
0 votes
0 answers
28 views

Issue with tkinter (pyimage10) [closed]

This call back error. Im trying to call a menu from a separate script using a fuction. It seems like garbage collector is messing with the menu images. Ive tried moving my images into a dictionary and ...
Jack snellings's user avatar
0 votes
3 answers
65 views

Is there a way to add close and add buttons to tabs in tkinter.ttk.Notebook?

enter image description here I want to achieve the effect displayed in the picture. Click the plus sign to add a tag, click close to close the tag. I can do it with two separate features, but I can't ...
dragonkyl's user avatar
0 votes
0 answers
36 views

How to exit command prompt console after sending disconnect command from tkinter?

I'm trying to create tkinter app with commands to control automated script replay on chrome. Usecase: .bat launches autoamted replay where I get sessionid and pass it to debugger ...
sridattas's user avatar
  • 499
0 votes
1 answer
29 views

How to Implement Zoom In/Out Functionality in CustomTkinter GUI

I'm trying to add zoom in/out functionality to my customtkinter GUI on a Raspberry Pi. Due to the lack of built-in support for scaling widgets in customtkinter, I'm struggling to achieve this. Has ...
deekshitha p's user avatar
-2 votes
2 answers
52 views

Why using Tk() instead of Toplevel() for my 2nd window in Tkinter doesn't let me update a text variable in a label [closed]

I want to use Tk() for my new window, because I'm going to destroy the main one and let the second one run; however, when I use it, it doesn't let my label's textvariable updates, but with a simple ...
Smart boy's user avatar
0 votes
1 answer
31 views

Tkinter dynamic label display

I'm working on simple window and like to have clock in it. Found out how to dynamically display time in separate window: Somehow same code placed into my project displays only label's purple ...
adamssson's user avatar
0 votes
1 answer
26 views

TKinter places a strange white box on a displayed image

I am developing a GUI using TKinter that allows users to interactively set parameters that are used for processing some images. The GUI displays the image that is being analyzed so that users can see ...
mrfraud's user avatar
0 votes
1 answer
29 views

Error loading .jpg images in tkinter window using tk.PhotoImage

Question: I am working on a tkinter application where I need to display images in the GUI. While loading .png images works perfectly fine, I am encountering difficulties when attempting to load .jpg ...
Ahmed Alsayadi's user avatar
0 votes
2 answers
35 views

access a component in a tkinter frame class from another frame class

I created a 2 Frames application in tkinter inspired by https://www.geeksforgeeks.org/how-to-change-the-tkinter-label-text/. The purpose is to import a new image by clicking on the start button, and I ...
Sticonike's user avatar
2 votes
1 answer
47 views

Tkinter canvas object tag_bind causing memory leak

If I monitor the Windows task manager while a program of mine is running, I see a memory usage number that goes up continuously. I wrote the attached code to demonstrate the problem. Once a tag_bind ...
agat's user avatar
  • 21
0 votes
1 answer
45 views

tkinter Label and field are very far away

I am having problems joining the label of tkinter to the gui. I am trying to put the asunto label on top left of the asunto textfield, although it was kind of achieved, they are far apart. Intended ...
Juan Andres Gomez Botero's user avatar
0 votes
1 answer
33 views

How to access scanner to scan document and save as a pdf using python

I am trying to build an application that can scan and print documents in windows using tkinter. I am able to print the documents using win32api and win32print Now I want to scan the documents but ...
dharmikP's user avatar
  • 121

15 30 50 per page
1
2 3 4 5
3046