title: Drag scrolling in a GTK+ app
body: <p>I am working on a GTK+ application that uses goocanvas to display a graph on screen. I am having problems coming up with a good way to implement drag scrolling.</p>
  
  <p>Currently the app saves the coordinates where the user clicked and then in a "motion-notify" signal callback, does goo_canvas_scroll_to() to the new position. The problem is that drawing is somewhat slow, and with each pixel moved by the mouse, I get the callback invoked once. This makes the drawing lag behind when dragging the graph around.</p>
  
  <p>Is there a good way to do drag scrolling, so it'd appear more smooth and I could skip some of the redraws?</p>