Summary

Package

Signature

Description

The function
set-horizontal-scroll-parameters
sets the specified parameters of the horizontal scroll bar of
self
, which should be a displayed instance of a subclass of output-pane (such as editor-pane) or layout.

The other arguments are:

min-range

The minimum data coordinate.

max-range

The maximum data coordinate.

slug-position

The current scroll position.

slug-size

The length of the scroll bar slug.

page-size

The scroll page size.

step-size

The scroll step size.

Example

See the following files:

examples/capi/output-panes/scroll-test.lisp

examples/capi/output-panes/scrolling-without-bar.lisp

Compatibility Note

The function
set-horizontal-scroll-parameters
supersedes the function
set-scroll-range
, which is deprecated and no longer exported.