customtkinter

Responsive Status Bar & bind <Configure> problem

Responsive Status Bar & bind <Configure> problem Question: I am new to Tkinter and I am experimenting, trying to build a little library of helper classes. I am presently trying to create a status bar class, based upon a Label widget. I want to be able to make the width of the label adjust. I …

Total answers: 1

TKinter ComboBox Variable Issue

TKinter ComboBox Variable Issue Question: I am trying to use tkinter, more specifically customtkinter, to create a combobox and have a variable in the first combobox determine what another combobox’s options are. I think the syntax maybe a little different since it is customtkinter rather than standard. Seeing if anyone can take a look at …

Total answers: 1

Scoping issue with instance attributes and Class methods in tkinter/customtkinter

Scoping issue with instance attributes and Class methods in tkinter/customtkinter Question: My tkinter/customtkinter GUI uses multiple frames raised above one another. I have a two frames both containing switches that need to invert one another (ie when one is ‘ON’ the other must be ‘OFF’). Both switches are created as instance objects within the init …

Total answers: 1

customtkinter – How to edit CTkEntry border?

customtkinter – How to edit CTkEntry border? Question: So I’m using the customtkinter to create an interface. I have an entry and I want it to have a background, but I cant’t do it. In the documentation, there isn’t an argument for the border. Specifically, I want to change the width and the color. Does …

Total answers: 1

Custom Tkinter Images

Custom Tkinter Images Question: I’m trying to create a back button. I have an image called back-button.png in the folder img. This is my code: from tkinter import * import customtkinter as ctk root = Tk() ctk.CTkLabel(root, text = ‘This is a label’, text_font =(‘Verdana’, 17)).pack(side = LEFT, pady = 11) img = PhotoImage(file="./img/back-button.png") ctk.CTkButton(root, …

Total answers: 2