641 questions
0
votes
1
answer
175
views
Scrolling on ttk.Combobox with CTkScrollableFrame underneath
Scrolling on Combobox droplist from tkinter.ttk module raises exception when there's CTkScrollableFrame underneath.
Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Users[...
0
votes
0
answers
89
views
Why does my python program start another instance of itself at a button click?
Every time I click a button in the app I am currently working on, the program goes to "no response" and then launches another instance of itself while the old one is still active. I don't ...
2
votes
1
answer
520
views
CustomTkinter Label Widget corner_radius
I was making a expense tracker in python using the customtkinter library as my gui source.
The problem I encountered was that when setting up a label I wasnt able to give its corners a rounded edge ...
1
vote
1
answer
100
views
Maximum recursion depth exceeded while drawing windows in tkinter
I am trying to make an app with Tkinter and CustomTkinter and sometimes it fails saying that ir has reached the maximum recursion depth. The error usually happens when rescaling a view and less often ...
0
votes
0
answers
78
views
Why doesn't the exe see the library properly?
I'm using custom tkinter for a project, I'm almost finished and I've started building .exe files.
when I run the program in visual studio, it works flawlessly but when I try the .exe, it returns this ...
1
vote
1
answer
158
views
Why are there errors when I try to close a window in customtkinter?
I have a very simple data window that I am trying to show and offer an exit button:
import customtkinter as ctk
import matplotlib.pyplot as plt
from matplotlib.backends.backend_tkagg import ...
1
vote
1
answer
61
views
How can I prevent text boxes from cutting into the border of a CTkFrame?
I am trying to create a stats frame with customtkinter, and I am running into the problem of left-justified text cutting into the border:
import customtkinter as ctk
window = ctk.CTk()
ctk....
0
votes
1
answer
387
views
I need help putting dual scrollbars on custom tkinter frame
I am building a gui to display rows from my database which spans far enough in both directions that I need scrollbars on x and y axis. I'm not sure if I should provide more code. I won't provide the ...
1
vote
0
answers
55
views
Data from csv file not displayed correctly in graphs in python code
I have some trouble with an app I'm making, I receive data from a chip connected to 3 sensors then I save that data into a csv file (one csv file per day). It correctly saves the data for all the ...
0
votes
1
answer
370
views
Trying to use tkinterdnd but I can't load tkinter library in Python
I want to drag and drop items onto the gui. I believe thats possible with tkinter? But whenever I try to run this, I get this error:
File "/Users/USER/Documents/GitHub/RegExorcist/regexorcist.py&...
1
vote
0
answers
79
views
The splash screen isn't centering exactly according to the screen size
I'm using Custom Tkinter to create a splash screen. I wanted to center the splash screen both horizontally and vertically. I tried the following code, but it didn't work. The splash screen is not ...
0
votes
1
answer
44
views
How to set up a master button in tkinter that deselects all items in the dropdown checkbox list without deleting the list?
I am trying to create a button to deselect all the checkboxes in my two lists but I have not been successful
this is my code
import tkinter
from tkinter import *
from tkinter import ttk
from tkinter ...
0
votes
1
answer
246
views
CustomTkinter how to set length of textbox
I am working on a GUI using Customtkinter where I will have multiple inputs in textboxes, using .place() I got my textbox displaying where I wanted it inside of the frame.
However I want the textbox ...
1
vote
0
answers
43
views
Why can't I scroll in Tkinter?
I can't get my mousewheel-bind event to work, this is my code:
class Game(ctk.CTkToplevel):
def __init__(self, master=None):
global fråge_font
global alt_font
fråge_font = ...
0
votes
1
answer
88
views
Error when changing language in Tkinter application: AttributeError: 'dict' object has no attribute '_apply_appearance_mode'
I'm encountering an error when attempting to change the language in my Tkinter application. The application has a button that, when clicked, is supposed to change the language displayed on the UI ...
1
vote
1
answer
986
views
how to add checkbox to CTkTable in customtkinter
I am trying to add a checkbox to customtkinter table widget which is CTkTable but I don't know how to get it inside. the first row have to be all list of checkboxes or what widget should I use that ...
0
votes
0
answers
147
views
Running a thread makes the interface (customtkinter) very slow
I'm writing my final project In python which is an system for driving teachers and student.
In the main function of the client, I'm running two threads: one related to communication with the server ...
0
votes
1
answer
73
views
Adding scroll bar destroyed the layout structure. How to fix it?
I am writing a small example with tkinter.
Here what I got (things are layouted nicely)
enter image description here
The codes for it are given below
import tkinter
from tkinter import ttk
from ...
0
votes
1
answer
51
views
Tkinter Application: Color Formatting & Disabling entry widget not working
I have a rather large tkinter application that will be a dedicated work personnel scheduling system for my job. The schedule contains a grid of entry widgets in the amount of the number of days in a ...
-1
votes
1
answer
113
views
How to make two frames not align to center in y-axis using the grid() method in customtkinter
I want the main frame to be at the y-coordinate of the main frame (using the grid method), but it doesn't work. Can anyone help me?
I want the optFrame to be at the position of the red square.
import ...
0
votes
1
answer
42
views
The Python code label.configure is not being updated because it was added in a for-loop syntax
I'm having trouble updating and replacing the output text into customtkinter gui using label syntax. When I clicked the button, it was not being replaced with the new one. Below is my code.
import ...
0
votes
1
answer
87
views
How can I align these numbers in Custom Tkinter
Whenever I run my code everything is lined up
Output (in vscode / terminal):
Preview 1 2 3 4 5 6 7 8 9 R H E
Astros 0 0 0 0
Cubs 0 0 0 0
But ...
0
votes
1
answer
73
views
Python Tkinter place the text from button with x and y coordinates
How i can place the text from a button not in the middle of the button rather with coordinates, like x and y?
The problem here is that i can't press the button, when i hover over the label
button = ...
0
votes
1
answer
108
views
Both side Scrollable frame for list of button in both direction - Customtkinter
I have frame in a page class where there are 10x10 buttons and entry widgets how to make the frame scrollable in both directions in python tkinter.
Canvas is not working as it i cannot place button on ...
0
votes
1
answer
172
views
Error when trying to open txt file in Python
I'm making an app using Custom Tkinter, and in this app I want to create buttons based on .txt files in a folder, and make the buttons copy the content of these .txt files. Simple copy / paste buttons....