Category "tkinter"

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

Display and EDIT opencv image using Tkinter

I have a simple GUI app to display image from chosen camera and transformed image. To do transformation I need to choose 4 points on image, so I would like to p

Using backspace across multiple tkinter Entry widgets

I made wordle (using tkinter) in a previous project of mine, and now instead of using one entry to get the guess, I want 5 entries linked together that work lik

My widget cannot be placed were I want because there was already another widget in tkinter

I made a GUI with tkinter, where you write your input and it creates and displays a QRcode of your in put. It is working correctly. But after writing an input o

How to properly import tcl file

I am trying to use the Azure theme in a tkinter application i made. I used the code from github to import the theme(https://github.com/rdbende/Azure-ttk-theme).

ModuleNotFoundError: No module named '_tkinter' on macOS

Tkinter doesn't work, it throws an error. Installation % pip3 install tk My code #!/usr/bin/env python3 import tkinter as tk The Error Traceback (most recent