[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

auto scrolling



I have a scrolling window and I want to set the scrolling automatically (to
do a kind of "goto position" function).
I do the following :

  (set-view-scroll-position (ccl::my-scroller self) 50 50)
  (set-scroll-bar-setting (ccl::h-scroller (ccl::my-scroller self)) 50)
  (set-scroll-bar-setting (ccl::v-scroller (ccl::my-scroller self)) 50)

if I want to aotu scroll of 50 pixels right and 50 down.
self is my scrolling window

I'm sure there is a best way to do that... no ?
---
Lafourcade Mathieu
GETA (Groupe d'Etude pour la Traduction Automatique)
BP 53X, 38041 GRENOBLE CEDEX, FRANCE

Lafourca@imag.fr