Skip to main content
1 vote
0 answers
10 views

Tkinter linked combobox populate by MySql data [duplicate]

I'm starting with python and trying to create linked comboboxes populate by MySql data where the second will be updated dynamically based on what is selected in the first. The principle is simple you ...
Lucius Sahaj's user avatar
0 votes
1 answer
32 views

Tkinter different behaviours for alpha using terminal and script

I'm trying to create an interface that has some transparency. I know that should be straightforward, but I'm facing a confusing bug. If I run the following code in the terminal: import tkinter as tk ...
Nathan Gavenski's user avatar
0 votes
1 answer
28 views

The .place() function in tkinter uses different left window anchor for text and entry and buttons?

I place my text, entry and buttons in the same way based on the image width as seen in the code. When I now make the window bigger than the image width, then the buttons start moving like they use the ...
SGKlee's user avatar
  • 80
0 votes
0 answers
32 views

Methods to raise a TTK frame in an OOP program

I am currently writing a program which right now shows a very simple login menu. I want to raise a new frame (which I have not wrote yet) when the user successfully logs on. To prototype the possible ...
GhostaNero's user avatar
-1 votes
0 answers
14 views

How do i get an entry from tkinter from within a seperate function? [duplicate]

I need to get the entry for 'searchEntry' when the onClick function is ran after the button is clicked. I know I could use a global but I've read its a work around, not a solution, any ideas? def ...
SplooshM's user avatar
-4 votes
0 answers
39 views

score += collision is submitted as a TypeError [closed]

I was running Python 3.12.6 and using Tkinter. I noticed an error about the Tkinter file, saying it had an unknown command or something. That wasn't my fault. However, when I tried to set a variable ...
Blazecat341234's user avatar
0 votes
2 answers
44 views

Tkinter: Assigning binds to a large number of widgets (frames) created by a loop function

I am developing a gallery display tool with Python's Tkinter which involves creating a lot of frames at once, each containing an image. This is achieved with 'while' or 'for' loops: x = 0 while x < ...
United Stonks's user avatar
0 votes
1 answer
35 views

I keep getting AttributeError: 'Toplevel' object has no attribute 'addtolist' when trying to call functions inside my toplevel class

I'm trying to use my function addtolist(self) within my TopSoftwareWindow() class and I keep getting AttributeError: 'Toplevel' object has no attribute 'addtolist' Here's the code for the specific ...
ThyKorey's user avatar
0 votes
1 answer
42 views

Python Tkinter use dataframe resulting from one function def (self,event) in different function within the same class

I have a combobox in one "subscreen" and I am filtering the original dataframe with combo box value but I can't use resulting dataframe to show it in the treeview function or else where. I ...
Monvana's user avatar
-4 votes
0 answers
44 views

I need help making a Tkinter Python image slide show [closed]

I'n new to Tkinter Python and I want to make a slide show box for a netflix clone site I'm making. I tried getting help from AI, but I'm getting the same shorcuts each time. Please let me what I can ...
Owen Lamour's user avatar
-1 votes
1 answer
51 views

Python tkinter works in spyder but missing attribute (simpledialog) in shell

I created a simple python script to open a simple dialog box. It works in spyder but not when I run the commands in the shell. I'm running Linux Mint. I installed Spyder with Anaconda's miniconda. ...
keithIHS's user avatar
0 votes
1 answer
73 views

Why do my radio buttons change appearance when hovered over?

I'm using Python 3.11.10 with Spyder 6.0.2. I don't know if this is a coding issue, or if it's something to do with the Spyder 6.0.2 platform I'm using, or a glitch in this version of Python, or what ...
AFrazier's user avatar
  • 147
0 votes
0 answers
29 views

ImageFont.truetype() Fonts in tkinter - do I need to know the file extension? (e.g. 'arial.ttf')

I pulled a list of available fonts from the tkinter 'font' module. from tkinter import font ... font.families()) However, when trying to select a font through the ImageFont class, I'm really ...
qandira's user avatar
  • 11
-2 votes
0 answers
18 views

How to use tkinter .get() function [duplicate]

I started learning tkinter yesterday, but thanks to a really good series of you tube videos I have progressed quite well. However, when I try to run my code:My code and press the run button it gives ...
Oscar Christopherson's user avatar
-3 votes
0 answers
21 views

How can I make a Windows 95 style title bar in Tkinter? [closed]

I am making a 1990's style web browser in Tkinter. I know there is a way to edit the title bar, and have seen programs running on Windows 11 with the 95/98 titlebar UI. Is there a way to do this in ...
Jackson Morris's user avatar

15 30 50 per page
1
2 3 4 5
3512