I'm looking to do that too and even make the canvas grow if you drag beyond the
actual width and height.  Jeff


Rick Ree wrote:
> 
> I would like to implement the following feature in my program: when a user
> drags the mouse 'off the screen' (i.e., out of the viewable range of the
> canvas), I'd like the scrolled window containing the canvas to adjust
> accordingly, scrolling the canvas to expose previously hidden areas.  This
> kind of thing is common in spreadsheets.
> 
> I assume I have to manipulate the GtkAdjustment objects of the scrolled
> window, but it's unclear to me exactly how to do this.  Any advice?
> 
> Thanks very much in advance,
> Rick
> 
> To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]

-- 
                         +----------------------------+
                         |        J.W. Bizzaro        |
                         |  [EMAIL PROTECTED]   |
                         |                            |
                         |        THE OPEN LAB        |
                         | Open Source Bioinformatics |
                         |                            |
                         | http://theopenlab.uml.edu/ |
                         +----------------------------+
To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]

Reply via email to