All Questions
1,069 questions
0
votes
0
answers
35
views
ttk.PanedWindow.sashpos(ind, n) does not set the sash position while dragging
this is the code (note that this is mrp code):
def enforce_sash_limits(self, event):
self.main_paned_win.sashpos(0, 120)
def init_pagebrowser(self):
self.main_paned_win = ttk.PanedWindow(self....
0
votes
1
answer
28
views
TTK style.configure for button font size does not work
I am writing a very simple GUI application through TTK where I wish to make the font size of the text in the button bigger, however it seems to not work when I use style.configure(). I have no idea ...
0
votes
2
answers
64
views
How to make the ttk treeview not show extra empty columns?
I am building an app with tkinter and running into some annoying issues.
When I load my data into the ttk treeview, I see that there are always some additional columns on the right side of my treeview ...
1
vote
1
answer
56
views
ttk Frames not filling properly
I am making a python application that uses 4 ttk Frames within its main window.
The first two frames should expand both vertically and horizontally to fill available space.
Frames 3 and 4 should only ...
0
votes
2
answers
29
views
Rendering issue with ttk.TreeView
I'm trying to use the ttk treeview widget. I'm able to create and populate it, and it seems to work properly. However it is rendering with a large empty "column" on the left side and I can'...
-1
votes
1
answer
66
views
My tkinter canvas scrollbar is very slow because there is a lot of rectangles I need solve
Image from programm i want to fix lag problem when i move scrollbar I made alot of rectangles by tkinter canvas python and when I move scrollbar to show all rectangles it is very slow and it is very ...
4
votes
1
answer
260
views
How to get all Styling parameter configurable by `ttk.Style().configure()` for a widget from Themed Tkinter?
I have been searching the answer for this question from a long time but with no success had to ask it here. I am able to get the styling parameter for from the tcl documentation, but my question is ...
0
votes
1
answer
78
views
How to change the state of a ttkbootstrap ScrolledText widget after creation?
Problem
I'm trying to change the state of a ScrolledText ttkboostrap widget after creation. I can set its state as I please when I create it, but trying to change it after creation fails for both ...
0
votes
2
answers
54
views
Detect text of an ttk entry widget
I would like detect the text of a tkinter ttk entry widget
I tried with:
import tkinter as tk
from tkinter import ttk
tk=tk.Tk()
e1 = ttk.Entry(tk)
if e1 == "good"
print("good"...
-2
votes
1
answer
183
views
tkcalendar with ttkbootstrap compatibility issues
I am using ttkbootstrap in my python script. I tried using the DateEntry from ttkbootstrap, but it does not fire an event like tkcalendar does (at least i couldnt find anything to it) and i like that ...
0
votes
0
answers
118
views
discover tkinter ttk widget structure and events
I wanted to creat a multi select combo box using python tkinter.ttk and needed to understand ttk widgets
I used the code below to get something that works, but I really want to understand how the ttk....
1
vote
1
answer
93
views
Python tkinter - grid configuration
So i just wanted to understand why tkinter is not sticking the sizegrip to the bottom right (SE) of the root window if I dont't call .columnconfiguration() and .rowconfiguration() methods on the root. ...
0
votes
1
answer
41
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" , ...
0
votes
2
answers
80
views
Bind functions issue in Tkinter
I have reported a simplified runnable version of my code where I'm trying to bind to my Treeview to perform action on it.
My issues are the following:
the onSingleClick function is not always ...
0
votes
0
answers
73
views
How to reload a tcl theme?
I am making a ttk theme creator, so I need to reload the theme when some internal changes are made in the tcl file.
How can I reload the whole theme?
self.style = ttk.Style(self)
self.tk.call("...