title: Handing double clicks in GTK#
body: <p>I'm converting a <code>WinForms</code> app over to <code>GTK#</code> and I want to simulate the <code>OnMouseDoubleClick</code> method on a <code>GTK# DrawingArea</code> widget.</p>
  
  <p>In <code>WinForms</code>, you have two methods you can override, one for a single click and one for a double click. If <code>WinForms</code> only detects a single click, it only calls the <code>OnMouseSingleClick</code> method, and if it detects a double click, it only calls the <code>OnMouseDoubleClick</code> method.</p>
  
  <p>Now in GTK#, you only have a single method you can override for clicking, <code>OnButtonPressEvent</code>. If you single click, <code>OnButtonPressEvent</code> only gets invoked once, but if you double click, it gets invoked three times! This is because GTK sends a signal for each click, PLUS one for the double click.</p>
  
  <p>There are similar questions on this site but none of the answers have been about the widget I'm using, or the answers weren't satisfactory. So my question again is, how do I simulate <code>WinForms</code> <code>OnMouseDoubleClick</code> method with <code>GTK#</code>?</p>