Re: Pmw ScrolledCanvas: How to scroll to specific item?

2006-06-05 Thread MrBlueSky
MrBlueSky wrote: > Hi, I've got a ScrolledCanvas object (sc) and have identified an item > on the canvas to which I wish to scroll. I've been reading around and > experimenting but with not much success. > > So far I've managed to get the item's bbox using sc.bbox(item) > And got the proportion of

Pmw ScrolledCanvas: How to scroll to specific item?

2006-06-05 Thread MrBlueSky
Hi, I've got a ScrolledCanvas object (sc) and have identified an item on the canvas to which I wish to scroll. I've been reading around and experimenting but with not much success. So far I've managed to get the item's bbox using sc.bbox(item) And got the proportion of the canvas that's visible u