[RQt-devel] How to control a scroll bar from command line?
Tengfei Yin
yintengfei at gmail.com
Tue Apr 12 07:03:29 CEST 2011
Hi
I came across a problem, when I zoom in a view by using view$scale(), it end
up with a vertical or horizontal scroll bar, so my question is that, how to
move this viewport to a specific spot on the view without using the mouse
and keep the same scale. I mean is there a convenient way to control the
scroll view directly from command line, I tried centenOn() on the view
object, it doesn't work, looks like the center of the view never moved and
only the viewport visible window is changed.
Thanks
Tengfei
--
Tengfei Yin
MCDB PhD student
1620 Howe Hall, 2274,
Iowa State University
Ames, IA,50011-2274
Homepage: www.tengfei.name
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/qtinterfaces-devel/attachments/20110412/412370cf/attachment.htm>
More information about the Qtinterfaces-devel
mailing list