All Questions
Tagged with optionmenu ttk
14 questions
0
votes
2
answers
150
views
How Do I Change The Background Color Around Python Tkinter ttk.OptionMenu Widget? (Mac)
I am trying to make a script that lets you choose a day, then displays the day you have chosen on the tkinter window.
But when i have tried to change the background of the entire window to black, i ...
4
votes
0
answers
340
views
How to make rounded ttk.OptionMenu in Tkinter
I want to make a rounded OptionMenu with the ttk style,
but I can't think on way doing so, and I can't find it anywhere on the internet.
This what I have so far:
from tkinter import *
from tkinter ...
0
votes
1
answer
302
views
Update on the fly a ttk.OptionMenu without affecting its previous callback/command
I am doing a large GUI with different ttk.OptionMenu widgets that need to be updated often depending on the interaction with the user. Each time the user selects another value from the menu, there is ...
2
votes
2
answers
7k
views
ttk.Optionmenu documentation
Would someone point toward complete documentation on ttk.Optionmenu. I have located many examples of ttk.Optionmenu usage. With the examples and experimentation I have been able to make ttk....
0
votes
2
answers
3k
views
Python ttk.OptionMenu Option Font Style
Before you call this a duplicate of any existing post on StackOverflow, please read:
I have a ttk.OptionMenu widget and I cannot seem to shift the style of the options in the widget. The style that ...
0
votes
1
answer
2k
views
How can I change the font of ttk.OptionMenu?
I can't change the font of the ttk.OptionMenu. I've tried using styles, but it didn't work:
...
style = ttk.Style()
style.configure('my.TOptionMenu', font=('Arial', 30, 'bold'))
...
self.option_menu =...
0
votes
2
answers
1k
views
tkinter OptionMenu in combination with trace throws "TclError: No more menus can be allocated"
I want to write a code generator in python and asking the user to select by an ttk.OptionMenu the type of variable. Right behind this OptionMenu the user has to define the value inside a ttk....
2
votes
2
answers
11k
views
How to edit ttk style for ttk.OptionMenu
Recently started using ttk for improving my GUI looks, but i got stuck at editing ttk.OptionMenu style. As I uderstand code below should change background of all Radiobuttons and OptionMenus. For ...
0
votes
0
answers
475
views
Tkinter Clear Optionmenu Menu Checkmark Next To Menu Item When Multiple OptionMenus [duplicate]
I create arbitrary amount of ttk.Labels and ttk.OptionMenus in a for loop and store them in a dictionary named entries to later access them if needed.
My problem is, with multiple OptionMenus, when I ...
1
vote
0
answers
744
views
Python Tkinter ttk OptionMenu - AttributeError: 'OptionMenu' object has no attribute 'get'
Here is the code what im having problem with. I have imported all of the correct things earlier in the program, this is only a small snippet of the whole thing.
class addx:
def __init__(self):
...
1
vote
2
answers
514
views
ttk OptionMenu does not fit into its bounding box
I am facing a problem creating a Tkinter-application under Windows, using python 2.7. Basically, when I create an OptionMenu, its right corner (where a down button indicates that something happens ...
3
votes
1
answer
2k
views
More on tkinter optionmenu first option vanishes
This is a followup to my question here. I'm trying to use ttk.OptionMenu to enhance the look and feel of a dropdown menu. But as noted in the post here, "A ttk optionmenu widget starts out with all of ...
24
votes
5
answers
20k
views
tkinter optionmenu first option vanishes
A ttk optionmenu widget starts out with all of its values in the dropdown. Upon selecting any value, the first value in the list vanishes, never to reappear...
Does anyone know why? Is this a ...
0
votes
2
answers
660
views
Determining row number of chosen OptionMenu but possibility to create within same variable - Tkinter
I have the following code where I ask the user to open a text which can include several rows within a section of data.
I then require for each row an OptionMenu to be created. My problem is that I ...