title: Tkinter how to bind B1-Motion to Combobox
body: <p>so I have a combobox in an app I am putting on a tablet, I'm wanting to make it so that I can drag on the combobox that it will scroll down it.</p>
  
  <p>So far I have this function:</p>
  
  <pre><code>def tablet_drag_y(event):
      global last_y
      if event.y_root-last_y&gt;20 or event.y_root-last_y&lt;-20:
          last_y=event.y_root
          event.widget.tag_remove(Tk.SEL, "1.0", Tk.END)
          return "break"
      event.widget.yview(Tk.SCROLL,-1*(event.y_root-last_y), "units")
      last_y=event.y_root
      event.widget.tag_remove(Tk.SEL, "1.0", Tk.END)
      return "break"
  </code></pre>
  
  <p>This works on Text widgets (the majority of widgets I need this for), but I only know how to bind the combo box with this:    </p>
  
  <pre><code>book_drop_down.bind("&lt;&lt;ComboboxSelected&gt;&gt;", tablet_drag_y)
  </code></pre>
  
  <p>Idk how to bind any sort of motion to the combobox, how would I go about doing this?</p>