ttk Questions

2

Solved

Getting an error on the following code. Keep looking at examples and re-evaluating code but cannot really spot any reason this shouldn't run. Is there anything incorrect such that the 'mRRed' layou...
Eda asked 1/5, 2020 at 17:15

5

Solved

1) I need to set one of my three ttk.Radiobuttons activated by default when I start my gui app. How do I do it? 2) I also need to check if one of my ttk.Radiobuttons was activated/clicked by th...
Irrupt asked 9/9, 2013 at 22:39

3

Solved

Does anyone know if there is already a widget/class to handle expanding/contracting a frame based on a toggled button (checkbutton) in tkinter/ttk? This question stems from my attempt to clean up ...
Ivied asked 30/10, 2012 at 14:34

3

I am trying to extend the ttk combobox class to allow autosuggestion. the code I have far works well, but I would like to get it to show the dropdown once some text has been entered without removin...
Confidence asked 31/8, 2014 at 1:29

2

Solved

Defining a font inside a function and in the main body of the script seems to behave differently, and I can't seem to figure out how it's supposed to work. For example, the Label in this example e...
Thirzia asked 4/9, 2014 at 17:21

3

Solved

This is my problem, I was building an interface for a program, but for needs of the bosses, the font must be larger. I have changed the font size of every widget without any problem, but with the t...
Towboat asked 6/5, 2016 at 9:21

3

I am trying to set colors to rows in a tkinter treeview object, using tags and tag_configure. There has been an earlier discussion on coloring rows which is rather old and seems to work no longer ...
Standin asked 22/4, 2020 at 19:10

2

Solved

Several Tk widgets also exist in Ttk versions. Usually they have the same general behaviour, but use "styles" and "themes" rather than per-instance appearance attributes (such as bg, etc...). This ...
Alienate asked 9/11, 2017 at 11:24

3

I have a ttk Entry which is in "disabled" state. The background color of the entry field while disabled is a light blue shade. How can i change it to the default grey color? From this post i unders...
Impeccable asked 28/12, 2015 at 13:23

8

Solved

Is there any way to use ttk Treeview with editable rows? I mean it should work more like a table. For example on double click on the item make the #0 column 'editable'. If this isn't possibl...
Stasiastasis asked 1/9, 2013 at 19:32

5

Solved

I am using Python 3.x on Windows. My problem is I want to customize a button widget of ttk by completely changing its background and foreground color. But so far, I have been unsuccessful. My des...
Flea asked 7/12, 2014 at 21:21

3

Solved

The size of Tkinter windows can be controlled via the following methods: .minsize() .maxsize() .resizable() Are there equivalent ways to control the size of Tkinter or ttk Frames? @Bryan: I cha...
Dicky asked 9/12, 2010 at 14:18

8

Solved

I would like to know the default window colour in Tkinter when you simply create a window: root = Tk() If there is one, it is possible to set widgets to the same colour or use a hex colour code?...
Simulant asked 5/7, 2012 at 8:44

2

Solved

I've searched all over, but have yet to find a simple example showing how to change a minor element of a ttk widget style and applying it dynamically (after widget creation). I have some ttk check...
Jacynth asked 26/4, 2013 at 15:51

4

I was wondering if you could help me with a style options issue in ttk. I've managed to change most of the basic ttk widgets to the style of my preference. I'm only stuck at changing the style of a...
Matthieu asked 6/2, 2015 at 22:4

5

Solved

I know that Tkinter is not so modern, not so cool and maybe better to use PyQt or etc. But it is interesting for me can Tkinter look not so ugly in Ubuntu (Linux). Looks that brew version (in OS X)...
Transit asked 16/2, 2015 at 23:9

3

I'm trying to change ttk.tkinter button background to black and foreground colour to white when mouse is hover it. Have tried highlightbackground and activebackground but doesn't yield the result I...
Fachan asked 24/7, 2019 at 15:33

4

I've been using Tkinter and Tix to write a small program. I'm at a point where I need a tree view with checkboxes (checkbuttons) so I can select items from the tree view. Is there an easy way to ...
Koressa asked 24/2, 2011 at 11:58

2

How do I hide the tab bar in a ttk Notebook widget? I don't want to hide the frame that belongs to the tab. I just want to remove the tab bar from sight, even where it's not at the top of the scree...
Clippard asked 14/11, 2014 at 4:41

5

Solved

Since I can't horizontally scroll Treeview column due to what appears to be Tk/Tkinter limitation, I want to make it sticky so it is attached to the frame. The issue is that user can manually resi...
Laryngotomy asked 27/7, 2017 at 18:25

3

Solved

Does anyone know if it is possible to have a single scale widget with two "sliders" from the tkinter module? Or anyway to fake it? Such as (edited with GIMP): I am thinking placing one scale on...
Stilted asked 21/8, 2012 at 15:36

7

I am building an application that embeds a matplotlib figure into the GUI. The problem is that my app is crashing as soon as I add anything from matplotlib into my code (except for the imports, tho...
Mystic asked 14/8, 2015 at 22:32

2

Solved

I have a delete function that is supposed to remove the selected item in the Combobox and its associated dictionary value. Then it is supposed to clear the textbox that displays that dictionary val...
Asserted asked 5/2, 2016 at 20:35

6

Solved

How can I set a style for treeview widgets so that alternate rows have different background colors, for example, rows 1,3,5 have white backgrounds and rows 2,4,6 have light blue-grey backgrounds? ...
Ethereal asked 24/10, 2011 at 16:24

3

I wrote a small farad converter to learn GUI programming. It works great, looks fine-ish. The only problem is I can't seem to figure out how to control this strange highlighting that comes up on my...
Bailey asked 8/3, 2011 at 17:23

© 2022 - 2024 — McMap. All rights reserved.