python tkinter.ttk combobox down event on mouseclick
<p>I do not find a correct answer to my issue, despite intense research and a rather simple problem.
All I would like to do, is my comboboxes drop down when clicked on by 'Button-1'. But regardless of what I code, the combos don't behave as I wish.</p>

<p>following I prepared a simple code to demonstrate my problem:</p>

<pre><code>from tkinter import *
import tkinter.ttk


def combo_events(evt):
    if int(evt.type) is 4:
        w = evt.widget
        w.event_generate('&lt;Down&gt;')


root = Tk()
li = ('row 1', 'row 2', 'row 3')

combo1 = tkinter.ttk.Combobox(root, value=li)
combo2 = tkinter.ttk.Combobox(root, value=li)

combo1.bind('&lt;Button-1&gt;', combo_events)
combo2.bind('&lt;Button-1&gt;', combo_events)

combo1.pack()
combo2.pack()

root.mainloop()
</code></pre>

<p>Well, if I try this code, the combos do dropdown, but not as expected. So, I tried to add a bind of the 'FocusIn' event but that rather complicates the situation and inhibits a 'FocusOut' ...</p>

<p>Can any1 help me to achieve my goal?</p>

<p>ps: I know, that the combo will drop down by clicking on the frame of the widget, but to be more precise I would like to drop it, when clicking into it.</p>

<p>And by the way, where do I find a rather complete list of events a combobox can trigger?</p>

<p>thx for effort and answer.</p>