Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python tkinter.ttk combobox down event on mouseclick

# To get it at the first mouse click:

w.event_generate('<Down>', when='head')

# default of Event Generate is to append the generated Event to the Event Chain 
# (put it at its end, value = 'tail'). Changing to when='head' gives your desired behaviour.
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #combobox #event #mouseclick
ADD COMMENT
Topic
Name
7+9 =