Hi. 

I have a scrolled window with a series of drag targets inside it, and
I want the scrolled window to automatically scroll when the user drags
something near the edges of the window. (assuming the window is not
already scrolled all the way to that edge, of course.)

I think I can do this by making the scrolled window itself a drag
target, and manually scrolling the window when I mouse over the edges,
but this seems like a hackish solution to me.

Also, I notice that Nautilus automatically scrolls the window when an
item is dragged within a few pixels of the edge, rather than only
scrolling when it is dragged over the (2 pixel wide) border of the
scrolled window.

This seems like the kind of thing that should be built in to the
widget set. Is there a callback or a clean and easy, canonical way to
do this? Or am I going to have to do it the hackish way?

I'm using pygtk 2.4.

thanks,

matt
_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to