Category "tkinter"

Run generator when button is clicked

I want to create a Button to generate a password with tkinter but when the script is running, the password is already generated and the button doesn't work. Her

Tkinter get rid of the python icon in messagebox tkinter

How can I get rid of the Python (or matplotlib) icon when running this code? Even when I add icon='info', I still get the rocket with the python logo. Please ch

How do I prevent terminal from hanging after running a tkinter program

I am working on a tkinter program but anytime I run the program, the terminal hangs. Is there a way I can prevent the terminal from hanging when the tkinter pro

When trying to position elements in tkinter all elements are moved

I'm using tkinter to create a very simple GUI just to start learning how to use the module. However I'm trying to position two elements (a button and a text box

[mac Monterey][Python 3.10.4][tkinter 8.6] Calling tkinter askOpenfilename crashes when repeatedly creating a window

I have a python program that allows users to repeatedly press a key that will create a tkinter window where they can open an image an manipulate it. The problem

Tkinter closing immediatly after plot

I am creating an interface using Tkinter to plot signals from a database. I am using Python 3.8 and PyCharm 2021.2.1. The interface is supposed to open another

Tkinter: Cannot edit entry widget after 2nd selection

I've made a simple GUI for placing objects in RoboDK via a Python script using Tkinter. Essentailly, the user selects an object using the btnSelect button, whic

Inequality not supported between instances of 'str' and 'int'

So I basically made a algorithm which takes the users input and decided on a rank from 1-100 and puts it on a UI. THe problem here is the find function and when

How to replace the icon in a Tkinter app?

I am using Python 3.5.0 on Windows 10 and want to replace this:

Creating RadioButtons with a loop but problem with them having the same value

I'm trying to make an exam sheet with "n" 4-option questions. I have created "n" sets of 4 horizontal Radiobuttons with a loop. the problem is everytime a certa

"'Command.__call__' was never awaited" when trying to execute Discord bot command on Tkinter button click

I've been trying to create a Discord self bot which posts a message in a specific channel based off a button input on another program. But I receive this error:

How do I draw a pattern of shapes using the Tkinter Canvas?

Essentially, i have a polygon shape drawn out in my canvas, and want to duplicate it so that it fills up the entire canvas. I am quite new to programming in gen

Is there a way to make Entry widgets in tkinter rounded or look nicer?

I code in Python and I use tkinter quite a lot to create GUIs for my applications. I prefer to make my GUIs look round and modern rather than sharp cornered box

Is there a way to make Entry widgets in tkinter rounded or look nicer?

I code in Python and I use tkinter quite a lot to create GUIs for my applications. I prefer to make my GUIs look round and modern rather than sharp cornered box

Drop-down menu is not showing in Combobox tkinter

I'm trying to make a drop-down menu for tkinter gui (Combobox). The code has no errors, but drop-down menu is not working. I'm using PyCharm, macOS. Please see

Skipping certain amount of cells if a condition is true in a for loop (Python)

I'm trying to tell python to insert "No work" in certain amount of cells, depending on how many days has passed since the codes was run. So basically, let imagi

Tkinter unable to configure

I have this problem when I try to run an app that imports turtle: Traceback (most recent call last): File "/home/panos/Documents/python/challenge_60.py", line

How to make tkinter work with discord.py?

I want to control my discord.py bot with tkinter buttons, but when I place client.run(token) above tk.mainloop() the discord.py bot runs, but the tkinter window

how to change label text in Tkinter with callback function out of window.mainloop

im triggering callback function witch reads encoder output with GPIO.add_event_detect so the global counter has current value, but i cant pass it to tkinter lik

I want to get a way to highlight code using the python Tkinter Text control

I want to implement a code highlighting function, but I don't know how to use this tk.Text 。 (not necessarily python, of course) I hope to get a highligh