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

I want to remove the box surrounding the arrow of a combobox, seen below I am using ttkinter with the theme "Clam", and styling it like this: combobox_style = ttk.Style() ...
Juan Calvo Franco's user avatar
0 votes
0 answers
42 views

I have the following problem. In my application I use 'black' theme from ttkthemes, with some additional changes. I also uses dialogs for getting values. I also have created my own dialog with ttk....
konoppo's user avatar
1 vote
1 answer
68 views

I'm trying to organize text alignment in ttk.Label using style in order to reduce the amount of code: import tkinter as tk from tkinter import ttk from tkinter import font app = tk.Tk() width = 605 ...
KLYSTRON's user avatar
0 votes
1 answer
116 views

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 ...
Warren Smith's user avatar
0 votes
0 answers
52 views

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....
user28962430's user avatar
0 votes
0 answers
40 views

I have very simple questions. Can I work with both tk() and ttk, or just one of them?' I used all the combinations and still getting the same error: NameError: name 'tkinter' is not defined. This is ...
sendog3c's user avatar
1 vote
1 answer
64 views

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 ...
SevenChords's user avatar
-1 votes
1 answer
82 views

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 ...
Dead code's user avatar
0 votes
1 answer
180 views

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 ...
pfabri's user avatar
  • 1,136
0 votes
0 answers
128 views

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....
Robin Becker's user avatar
0 votes
1 answer
44 views

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" , ...
طاها ایروانی's user avatar
1 vote
1 answer
31 views

I currently have a ttk.Notebook, tabControl, that is initialized with a singular tab, first tab. That tab comes with a tk.Text, txt. tabControl = ttk.Notebook(self.root) ...
Cyrxs's user avatar
  • 41
2 votes
2 answers
320 views

I'm trying to get the StringVar object associated with an Entry widget, but I can't figure out how. I found this question: get StringVar bound to Entry widget but none of the answers work for me. Both ...
Choosechee's user avatar
2 votes
1 answer
613 views

I am writing mass spec data reduction software. I want to provide the user with a list of all samples in the current sequence, next to a check box to show whether the analysis data has been reduced (...
ohshitgorillas's user avatar
0 votes
1 answer
63 views

I am currently having a problem with Tkinter.Variable initialization and naming. Setup: I have a window, with a frame (window_frame) in it and menubar at the top (tk.Menu). Each command on the menu ...
AutumnKome's user avatar
-2 votes
1 answer
38 views

I am having an issue with my code where I would like to put icons in the second column of a tkinter treeview but so far I have only been able to to get the icons to work in the first column. I can't ...
Bubba's user avatar
  • 1
0 votes
1 answer
57 views

I'm trying to build a work schedule tracker, starting with the header. A picture attachement shows how the design will look once completed I have three classes so far, InputWindow: A Toplevel window ...
Blue4Life90's user avatar
0 votes
0 answers
38 views

I have written a Python application with the sv_ttk Deisgn. A button looks like this, for example: execute_button = ttk.Button(root, text="Execute", command=lambda: execute_command(...
Benedikt Schächner's user avatar
-1 votes
1 answer
101 views

I'm trying to add class variable values to a list inside a function, but I'm not seeing any errors or the expected output? The comboxbox doesn't display when I uncomment the list code. Outside of the ...
James-Jesse Drinkard's user avatar
0 votes
1 answer
131 views

so I'm trying to make a progress bar that automatically starts filling when the window is opened.. so instead of making a button that when pressed it call the function of filling the bar I call the ...
Smart boy's user avatar
1 vote
2 answers
126 views

In fact, I wanted to make a button for my graphical project with TTK; But sadly I failed to do that. After doing a lot of trial and error, I realized that the problem is with the font and background. ...
Hoomehr Mirzaei's user avatar
0 votes
0 answers
122 views

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 ...
Nitram's user avatar
  • 1
0 votes
1 answer
109 views

I wrote the folliwing class (reading some examples on the web), it works almost perfectly, except for the fact that the widgets placed inside the scrollable Frame (child of Frame) does not expand when ...
Emilio's user avatar
  • 13
4 votes
2 answers
633 views

I wish to retrieve the font object currently assigned to an arbitrary tkinter.ttk.Label widget. (To be more exact, I want to obtain the exact configuration attributes of the widget’s current tkinter....
Jukka Aho's user avatar
  • 141
0 votes
0 answers
185 views

I found this solution to extend a ttk theme: import tkinter as tk import tkinter.ttk as ttk class Style(ttk.Style): EXTENDS = 'extends' def __init__(self, parent): super().__init__(...
Bálint Cséfalvay's user avatar

1
2 3 4 5
24