Category "tkinter"

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

tkinter radio buttons are selected by default

I am using radio button selection to change a label widget in my window, I've just written this code to save myself having to write essentially the same thing f

Picture won't open in File Dialog, Tkinter, Pillow

I have written this. Its short and supposed to open a file dialog window, with buttons "open a file, turn, save, exit." I want to open a jpeg, turn it 180°

Image not Rendering in Python, Tkinter, PIL [duplicate]

PIL Photo not Rendering code : from tkinter import * from PIL import ImageTk, Image root = Tk() def resize_image(file_dir): full_dir =

Tkinter vs Linux (ubuntu/Mint) <KP_Enter> not enabled by default

On Windows the events of the 'Return' key by default are already linked to the <KP_Enter> key. For example selecting a combobox item, or closing a mesageb

Tkinter DPI bug depends on how import is entered?

I have a weird question. In essence: why does the way I enter the pyplot import line into iPython influence my plot?! Try this (on Windows 10): Use a high-DPI m

pyinstaller makes an empty black window of my tkinter gui

For a very simple example, consider the following code import tkinter as tk from tkinter import messagebox class App: def __init__(self, parent):