Questions tagged [customtkinter]

For questions about the Python library customtkinter which wraps the built-in Tkinter

customtkinter is a library for creating GUI programs which is based on the built-in Tkinter.

It was created by Tom Schimansky and is also available on GitHub.

372 questions
1
vote
0 answers

Python Customtkinter Entry box

This is my first time coding with Python and for a school project we have to build an app. I am trying to finish up my create user page and its giving me the error listed below. I have researched Youtube videos and have looked through several web…
Andrew R
  • 11
  • 3
1
vote
1 answer

Glitching text in an updating frame in customtkinter

In my program, I have a frame (in customtkinter), this frame updates to display new information each time a button is pressed. The issue is that some of the text is glitched after pressing more than 1-2 buttons to display different things. Not sure…
BigJ
  • 23
  • 4
1
vote
3 answers

Customtkinter: Change text color of switch

I want to change the text color of the switch widget text in customtkinter I tried to use configure in with text_color but it showed me that there's no attribute of a switch called text_color... Btw.. when creating the switch text_color…
Adrian8115
  • 17
  • 4
1
vote
1 answer

CustomTkinter TabView

import customtkinter customtkinter.set_appearance_mode("dark") customtkinter.set_default_color_theme("green") root = customtkinter.CTk() root.title("CustomTkinter Tabview") tabview = customtkinter.CTkTabview(root) tabview.pack(padx=20,…
1
vote
1 answer

how to add scrollbar to specific elements in tkinter

i'm making an app where you can add in folders, the problem is that the 'icons' to show the folders go offscreen. i tried to implement a scrollbar myself but after a few hours found myself unable to, could you tell me how to add it in? i'm using…
1
vote
1 answer

Cannot refresh custom tkinter frame in real time

I'm trying to continuously refresh a CTkinter frame, but the code keeps getting stuck in the TS_Button_Update() function and the main window doesn't ever open (print(countdown) repeatedly prints, however). I also eventually want the code to also…
1
vote
0 answers

Tkinter format parts of button text

I have a customtkinter button which looks like this. Is there a way I can format parts of this button text? For example, I want the first line ("Decline Dumbell Press"), to be bold, and the text on the second line ("Sets: 3, Reps: 8") to be italic.…
1
vote
1 answer

How do I bolden the next word the user will type in a textbox in customtkinter?

I am trying to make a word processor of my own but I can't figure out how to press a button to bold only whatever the person will type next, not the whole textbox. # from tkinter import * # PEP8: `import *` is not preferred` import customtkinter…
1
vote
1 answer

Python Tkinter - I can't replicate terminal output in Tkinters Label (GUI)

Within my class 'App', I wish to take the user input in the Tkinter EntryBox, and use it to get the definition using pythons PyDictionary module. Once done, I wish to display the output in a Tkinter Label. The specific output which is printing to…
Leon
  • 13
  • 3
1
vote
1 answer

python tkinter updating the combo box programmatically

When I print the list that I am setting the Combobox to I am getting an updated list based on the available com ports, however the values in the drop down box are not working. I have a feeling that it is because I am using customtkinter.... I really…
koorn5
  • 21
  • 3
1
vote
0 answers

different corner radius value for each corner (CustomTKinter)

How can I specified the value of one corner from the frame, I though I could use a tuple as a value of corner_radius but it returns an error. this is the part of my code my code logoFrame = ctk.CTkFrame(master= self, width= 200, height= 100,…
1
vote
1 answer

Create an auto update feature in my python app

I am looking for an easy and pythonic way to make update my python app on the users machines. Currently the app is hostet in github and I have release versions, but it would be cool if my users would be able to click a button or run a command and if…
1
vote
0 answers

Tkinter/Customtkinter Custom Treeview

I'm trying to figure out a way to get the text of the widget beside the button I pressed. For Example, when I click the first button I want it to print '0', if it's the second button, then print '1'. #--------CREATE TREEVIEW HEADER-------# for x,y…
Wayne Gan
  • 39
  • 1
  • 3
1
vote
1 answer

How to use image as button in customtkinter?

at this code im trying to use image as button but its being created next to button import customtkinter from PIL import Image customtkinter.set_appearance_mode("System") # Modes: "System" (standard), "Dark",…
1
vote
1 answer

Customtkinter: why does this event.widget lose the proper grid information?

In an UI I'm trying to make I want to make an interactive matrix where some data should be entered by the user. Apart from the data value Entries, each column and row has an Entry with a placeholder text where the user should enter the name of the…
work flow
  • 25
  • 4
1 2
3
24 25