110 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
1
answer
134
views
issues with themed styles with tkinter ttk
I have been working with styles and trying to understand the interface and I see three issues that I have identified with the following. I would appreciate it if someone could illuminate these issues ...
0
votes
0
answers
93
views
Python Borderless ttk.Treeview
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 ...
0
votes
1
answer
93
views
Why is my Tkinter canvas not allowing me to scroll all the way down after generating new widgets?
import tkinter as tk
from tkinter import *
from tkinter import ttk
from datetime import datetime
import ttkbootstrap as ttk
from ttkbootstrap import window
import pandas as pd
import calendar
import ...
0
votes
1
answer
48
views
How to use height parameter in ttk.Button and other widgets?
I have a question.
How do I use height, font, and other common arguments ... in ttk.Button and other widgets?
Button1 = ttk.Button(root , height = 2 , width = 30 , font = "Tahoma 12 bold" , ...
1
vote
2
answers
82
views
Cannot remove widget after activating checkbox in Python Tkinter
I am working on my pet-project. Under the working on GUI part, I faced a problem. I want to add a new widget after clicking the checkbox the first time, and on the second click, this widget should be ...
0
votes
1
answer
93
views
How to create a ttk. Notebook and add another ttk. Notebook in each tab?
My problem is in the question.
Because I get this : _tkinter.TclError: can't put .!notebook.!frame.!frame.!notebook inside .!notebook.!frame.!frame, would cause management loop
from tkinter import *
...
0
votes
1
answer
76
views
python tkinter update 'tab' header dynamically [duplicate]
I have a GUI program which updates labels dynamically.
Since I have multiple tabs with different amount of labels, I have made it dynamically, so I can reuse this code for all the information returned ...
0
votes
0
answers
124
views
Get the style object when only the style name is known
I started to use ttk Styles. I have now the problem, to find the style object if I only know the style name. I would like to read out properties from the style settings.
This is not really a practical ...
0
votes
1
answer
114
views
PyInstaller - ModuleNotFoundError in spite of hooks and hidden modules
I've looked everywhere (including the Pyinstaller Github and documentation) but nothing seems to force Pyinstaller to find the ttkwidgets module while compiling the software.
My script is on based on ...
0
votes
1
answer
230
views
ttkbootstrap bgerror failed to handle background error
Python Console Window:
Hoping someone can help with this error I am receive anytime i ran a program consecutively in ttkbootstrap without restarting the console. If i restart the console window it ...
0
votes
2
answers
133
views
Python how to use a value from another function and bind the function to a Tkinter button?
I'm new to programming in general. I have made a simple tool that converts images into WebP format.
from PIL import Image
from tkinter import Tk, PhotoImage
from tkinter import filedialog as fd
from ...
0
votes
1
answer
232
views
tkinter (ttk) leaving artifacts when updating widget
When updating a value in a widget using tkinter there's traces of the old widget's state on screen, and I was wondering if there's any fix to this. I'm assuming tkinter just re-draws whatever it needs ...
0
votes
2
answers
314
views
create a tree with the ttk.Treeview widget, based on a list
["c:","c:/folder","c:/folder2","c:/folder/file.txt","c:/folder/folder3","c:/folder/folder3/file2.txt","c:/folder2/file3.txt"]
I ...
0
votes
1
answer
441
views
customtkinter grid not working properly with columnspan
My question is that we create columns and rows when using customtkinter. Whenever I use columnspan, the widget takes up space on its own, regardless of the rows and columns I create. For example, I ...
0
votes
0
answers
200
views
Why does ttk.style() / .configure not apply a defined style to a frame? (python3, tkinter, ttk)
I am trying to write code for a very simple frame layout in tkinter/ tkk to understand how it works and I am running into a problem, where I can't find awnsers online. I am trying to color a frame ...