Skip to main content
Filter by
Sorted by
Tagged with
1 vote
0 answers
66 views

I seem to be always getting 120 for both height and width, I don't know why it refuses to give me the real value for the width so I can make the maintain the height in a 16:9 ratio # Monitor frame ...
epi's user avatar
  • 11
Best practices
0 votes
2 replies
76 views

I have this script in Tk and it works fine. I wanted to make it dark and add hover options, so I changed it to CTk, but now it's not working. Can someone please help me fix this? I have both scripts ...
Royy's user avatar
  • 149
2 votes
0 answers
118 views

I'm having a little problem with this code! Basically, I'm testing a feature for a piece of software, and the idea was to animate these windows. So far, it's working fine. When the top window expands, ...
DevStrom's user avatar
-2 votes
1 answer
77 views

I have coded a python application for help me manage my works. For do this I need some buttons. I chose to use CustomTkinter because of the visual effect but mostly of the times the icons of the ...
Andrea Buscetto's user avatar
0 votes
1 answer
95 views

In my Tkinter chatbot app, clicking the 'History' menu opens a new window every time. How can I make it so only one history window exists, and if it's already open, bring it to focus instead of ...
Ashaz Akhtar's user avatar
2 votes
1 answer
65 views

I have an issue where my CTkTabview only takes up ~2/3 of the screen vertically. class App(customtkinter.CTk): def __init__(self): super().__init__() self.grid_columnconfigure(0, ...
frenzy's user avatar
  • 23
0 votes
1 answer
78 views

I want a frame that scrolls both ways (horizontally and vertically). However, a normal CTkScrollableFrame only supports either vertical scrolling or horizontal scrolling, and I'm not sure what other ...
Tommy Llewellyn's user avatar
1 vote
1 answer
66 views

My application uses CustomTkinter and reads data on start up: import customtkinter as ctk from CTkMessagebox import CTkMessagebox class App(ctk.CTk): def __init__(self) -> None: super()....
Daniel O'Hara's user avatar
0 votes
0 answers
24 views

So I have this widget class. class TitledWidget(ctk.CTkFrame): def __init__(self, parent, title="", **kwargs): super().__init__(parent, **kwargs) self.title = title ...
Sonia Chartrand's user avatar
3 votes
2 answers
259 views

I'm new to coding/Python started a few weeks ago and am learning by creating a basic app with Customtkinter (for the aesthetic) on Pycharm. The app has 2 Customtkinter windows, a login window (class ...
Suraj Satish 's user avatar
0 votes
0 answers
78 views

This is a simple application I'm making that organizes folder, but that part works fine. I'm make a GUi for it using custom tkinter and cant figure out how to set the favicon, whatever I do just does ...
AlexanderPrasad's user avatar
0 votes
1 answer
62 views

I am not very experienced with coding but I am creating a customtkinter application style script where a user can input a specific type of html that contains diagnostic addresses and various ...
Chickchu's user avatar
0 votes
0 answers
140 views

I'm using CustomTkinter to build a quiz interface. Each question is displayed in a CTkTextbox (lbl), and I want the textbox to automatically adjust its height (Y dimension) depending on the content, ...
Bao Nguyengia's user avatar
0 votes
0 answers
66 views

I'm working on a tkinter/customtkinter app to load data to MySQL. Below are the relevant classes. When I run this code to load a single file, I have no issues. The problem comes when I click self....
Kyle's user avatar
  • 2,545
0 votes
1 answer
88 views

I have a small app using tkinter/customtkinter. When I click a drop down (CTkOptionMenu) it chooses a form to display and all other forms become hidden: def show_selected_form(self, event): ...
Dugan's user avatar
  • 1
0 votes
1 answer
157 views

I would like to add a separator line in between the entries of my text box but have not yet found a neat way of doing this. I would also gladly appreciate any further comments on my code any ways to ...
Paul Hinterbauer's user avatar
1 vote
1 answer
57 views

I am currently writing a little Text Adventure as a school project and am somewhat stuck on this problem. Part of the setup needed: self.frame = cTk.CTkFrame(self) self.frame.place(...
Paul Hinterbauer's user avatar
0 votes
0 answers
58 views

I am working on my (in my eyes) first larger project. Until this moment I was writing only scripts up to 500 lines and I am creating an app for my team which is going to do some quality control so I ...
Maria's user avatar
  • 21
0 votes
0 answers
29 views

I wrote a simple program where need get number and do some math problem such as the perimeter and area of ​​a triangle. It shows an error: Traceback (most recent call last): File "D:\\AAA\\...
Sayjanov Ismail's user avatar
0 votes
1 answer
82 views

I am having a problem in positioning the login window in center of my screen. This is my code: from customtkinter import * from PIL import Image from tkinter import messagebox from views.registration ...
Christian Tejano's user avatar
-1 votes
2 answers
59 views

I'm new(ish) to Python, and am trying to create a link manager software. I have ran into an issue in my code, however: apparently, the webbrowser module doesn't work with lists? I tried doing simple ...
Loquacious Lizard Lover's user avatar
0 votes
0 answers
92 views

I have a treeview that I don't want to have borders, I managed to do it with borderwidth=0, however when selecting an element the border reappears, I tried to put borderwidth=0 when selecting or ...
XlayerCrz's user avatar
0 votes
1 answer
67 views

I am making a program with various features. The program stores all the user's preferences (customtkinter string variables) in a .json file located in the same directory. However, when running it on ...
jack morris's user avatar
0 votes
1 answer
87 views

I'm quite new to GUI and OOP, I really tried to figure out but I'm not able to find the solution. I started a GUI project which started to be very messy very quickly. So I started to recreate from ...
Macronaute's user avatar
0 votes
1 answer
70 views

I'm new to Python and GUI developmment. I'm trying to display in a window a week planning. I have prepared a list of days, and I want to loop through to create a frame for each day : This part is ok, ...
Macronaute's user avatar
0 votes
0 answers
190 views

I was wondering if there is a way how to implement the rendered "webview" into customTkinter frame? import customtkinter import webview from customtkinter import CTk, CTkFrame def ...
Jan Vaško's user avatar
0 votes
1 answer
114 views

I'm using app.overrideredirect(True) in my customtkinter application to create a custom title bar. However, the application doesn't appear in the Windows taskbar. When I click outside the app, it ...
Maddox's user avatar
  • 3
1 vote
0 answers
31 views

When using pywinstyles.set_opacity on a button that was created in CustomTkinter, it causes the background to be "transparent", just like it is supposed to be. However this only works when I ...
user28944982's user avatar
0 votes
1 answer
192 views

I used CTK to round the corners of my buttons, it did work, but not as expected. In the background of the button, there is still something that doesn't get the round corners Image to it I don't see ...
user28944982's user avatar
-1 votes
2 answers
214 views

I'm trying to change the background of the label that its says "Welcome Back to Our Website!", its only shows me the background of the original windows. I saw before that, that specific ...
juan sebastian giraldo's user avatar
0 votes
1 answer
56 views

I have one question related to pictures use with CTkButton to which I assign picture (.png) which is actually not shown from beginning of program run. It is shown just after I change "...
Jan Vaško's user avatar
1 vote
2 answers
231 views

I'm making an app in python, with the customtkinter library. I'm using the grid() widget manager. So far, I only have a few frames as the basic layout, but can't align them properly. The issue is, ...
Adam Brestovansky's user avatar
0 votes
0 answers
93 views

I'm trying to make a 'autofit' column width and the code below works really fine, but only if Im not in the tabview that the autofit occurs. Is there anyway to workaround this? from tkinter import ttk,...
Giulliano Accarini De Luccia's user avatar
0 votes
0 answers
104 views

I am trying to put a background to my custom tkinter program. It has a main class that all my frames are add to. This same class has functions to make them appear. The problem is, is that instead of ...
Kaleb Hall's user avatar
0 votes
1 answer
215 views

The way I get it, scaling is dpi aware in customtkinter, but positioning is not? It seems I need to set x_pos and y_pos regarding x+<x_pos>+<y_pos> in physical pixels (retrieved with e.g. ...
MasterOfDesaster42's user avatar
1 vote
1 answer
58 views

I am developing a calculator using Python. The problem I'm facing is that when I try to toggle the sign of the last number entered by the user using the ⁺∕₋ button, all similar numbers in the text get ...
Araz_devp's user avatar
-1 votes
1 answer
114 views

As you can see, my text goes over the arrow, how can i fix it? this is my code: class ComboBox(ctk.CTkComboBox): def __init__(self, master): super().__init__(master) self.configure(...
Viktor Petrov's user avatar
0 votes
0 answers
80 views

```` from pathlib import Path from tkinter import Tk, Canvas, Entry, Button, PhotoImage import time import subprocess import traceback import sys import logging import os import sys def resource_path(...
Hageshiku's user avatar
0 votes
2 answers
120 views

How can I make a button inside of a frame affect something outside its own frame? I am new to programming and have not been able to solve this problem on my own. Here is my code and some pictures ...
Lex Richter's user avatar
0 votes
1 answer
83 views

Every time I'm getting this error: _tkinter.TclError: image "pyimage2" doesn't exist When I want to execute this code: self.frame1 = customtkinter.CTkFrame(self) self.frame1.pack(fill="...
zlElo's user avatar
  • 63
0 votes
1 answer
217 views

I have a ctk application with many widgets spread across multiple tabs and frames. The inputs are so extensive I would ultimately like the user to be able to save their entries to a named file and ...
Andrew Eaves's user avatar
1 vote
1 answer
143 views

I have an issue when displaying images using Pillow on my Retina display. I have a folder of images that are 150x150 pixels, and when I try to display them with a circular mask, they appear pixelated ...
Chad Ify's user avatar
2 votes
1 answer
130 views

I was trying to run a simple GUI script I learned (I am a beginner) and no window popped up with the GUI this was the code, import customtkinter customtkinter.set_appearance_mode('dark') ...
Nathan Haug's user avatar
0 votes
2 answers
80 views

I am having trouble getting this text box to print text when the button from Class3 is pressed. If I call the same function from Class2 then everything is fine. But from Class 3 not so much. I can ...
Nick Shepherd's user avatar
1 vote
0 answers
135 views

I'm using CustomTkinter to create a GUI in Python, and I'm facing an issue with the CTkComboBox widget. When I populate the ComboBox with a large list of items, the dropdown menu shows the options, ...
SNC92's user avatar
  • 11
1 vote
1 answer
64 views

How can I set an image (a palplot created with seaborn) into a Customtkinter button (CTkButton)? In the following MWE, I created the button and the image but adding the image with image = image in the ...
AlMa's user avatar
  • 291
1 vote
0 answers
140 views

I've been trying to add an route line to a tkintermapview simple app, but i can't find a code that matches what i need i have a list with around 10 places that i need to calculate the distance in a ...
Ratte's user avatar
  • 11
1 vote
0 answers
2k views

I am writing a python script that downloads videos from YouTube using the yt-dlp library for downloading and customtkinter for building a user interface. What I want exactly is for the user to click a ...
Héctor Urueña's user avatar
1 vote
0 answers
31 views

i am using customtkinter toplevel as a dropdown and want to override Alt-Escape behaviour of window for this top level how to? basically i dont want the window manager to cycle this toplevel like ...
k chakraborty's user avatar
1 vote
1 answer
80 views

I have three labels that are directly under eachother (see image). I'd like the labels to be collapsed when they're empty. In the case of the image, the second label is empty. I'd like the third label ...
Ulas's user avatar
  • 15

1
2 3 4 5
13