Attemps to reliably change the text color in a ttk::Combobox fail. It happens for me on Windows 10 with the native theme. The following code creates two comboboxes with their foreground color set to red. Selecting an option in one of them then the other, back and forth, shows that the foreground color alternates between black and red. Here’s what
Tag: tk-toolkit
Two fullscreen tkinter windows on separate monitors on Raspbery Pi 4
I have a simple TK app that runs fullscreen just fine on one monitor, but now I want to run two fullscreen windows, one on each display on a Raspberry Pi 4. The two displays have different resolutions and work fine on their own, but I can’t get two fullscreen windows to work, both windows fullscreen just on the first
How to configure map for all ttk widgets except TButton?
I am creating a GUI with Tkinter and ttk, and I’m trying to create a custom map to make ttk widgets blue on hover. I could apply that to all widgets with passing “.” as the first argument to ttk.Style().map(…). But now I want to exclude TButton from this query. That is, I need to make all widgets but TButton
How to disable manual resizing of Tkinter’s Treeview column?
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 resize Treeview column which can mess up my interface in a certain way. Is it possible to disable such functionality? Note the size of the