Skip to content
Advertisement

Tag: tkinter

How to make pop-up window with force attention in Tkinter

I want to create a window which doesn’t allow the user to access other windows until you give an input. I tried win.attribute(“ontop”, True) but it allows the user to access other windows. or is there any function like a force_focus_lock() in Tkinter python 3.8 which doesn’t allow other window to get focus until you give a input or the

Need help for running tkinter program

I am new to GUI programming so I don’t know why this is not working when I run this program it doesn’t open tkinter window so help me out,this is only running speech recognition program Answer Simply add root.mainloop() at the very end of the script. This is one of the must-haves when you make a script using Tkinter.

I can’t scroll grids in frames in canvas (tkinter)

I am using Tkinter for a project, and I found in Stackoverflow a code to create a scrollbar, which I understood well. I wanted to scroll some buttons, which worked, but now when I try to scroll some grids (button and scales), it doesn’t work. I have tried to manage my code with answers here and here, but I didn’t

Tkinter: keep update a variable

I really need help, my brain is melting because of this problem. I’ve studied python for 2 months maybe and I’m not very expert in programming. I’ve got an issue… I’m using tkinter on this program; in this small GUI I’d like to always keep updated the global variable “temp”, and its value should change everytime I click on the

Using Tkinter, Threading and After method

im working on a selenium project using tkinter in python. I want to execute many selenium task at one time(could be up to 100), so I used threading to accomplish this goal, but I came to a problem, due to the fact that I need all individual selenium task to wait a couple seconds between instructions, I used the ‘.after’

Advertisement