| Did you know ... | Search Documentation: |
| Send methods |
<-length, scroll_bar<-start
and scroll_bar<-view
tell the scrollbar which part of the object scrolled is currently in the
window:
scroll_bar ->lengthTotal size of the object scroll_bar ->startStart of the visible part scroll_bar ->viewSize of the visible part
The method scroll_bar->bubble
allows the user to change all three parameters with one message. See
also scroll_bar->compute.
<-request_compute
is not @nil,
this method will:
<-object
has the send method
scroll_bar->bubble_scroll_bar. If this is
the case, this method is called with this scrollbar as argument. The
receiving object is supposed to activate scroll_bar->bubble,
passing the current viewport settings to the scrollbar.<-object
has all the methods scroll_bar<-start, scroll_bar<-view
and scroll_bar<-length,
the scrollbar will invoke them and update the viewport using the result.
Backward compatibility only.
If the scrolled object or the viewport is modified, the window or
scroll_bar<-object
should invoke graphical->request_compute
on the scroll_bar to activate this mechanism.
<-look.
After user-interaction that should affect the scrolled scroll_bar<-object,
the scroll_bar
object determines -direction, -unit and -amount. Next:
->scroll_vertical:
-direction, -unit, -amount on the associated scroll_bar<-object
if scroll_bar<-orientation
is vertical and scroll_bar->scroll_horizontal
otherwise. If this method is understood and succeeds the event is
considered handled. See, for example, window->scroll_vertical<-message.object either horizontally or
vertically. See also scroll_bar->message.<-object
is used. Exploits the variables
scroll_bar <-placementto place left/right, top/bottom. scroll_bar <-distanceto determine the distance to the object.
The scrollbar is displayed on the same graphical<-device
as the given graphical.