set-horizontal-scroll-parameters
self
&key
min-range
max-range
slug-position
slug-size
page-size
step-size
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 minimum data coordinate.
The maximum data coordinate.
The current scroll position.
The length of the scroll bar slug.
The scroll page size.
The scroll step size.
When one of these keyword arguments is not supplied, the value of the corresponding scroll parameter in self is not modified.
See Scroll values and initialization keywords for a description of these scroll parameters.
The function set-horizontal-scroll-parameters
supersedes the function set-scroll-range
, which is deprecated and no longer exported.
(set-horizontal-scroll-parameters pane
:min-range 0
:max-range 42)
(set-scroll-range pane 42 nil)
(example-edit-file "capi/output-panes/fixed-origin-scrolling")
(example-edit-file "capi/output-panes/scroll-test")
(example-edit-file "capi/output-panes/scrolling-without-bar")
scroll
get-horizontal-scroll-parameters
get-vertical-scroll-parameters
set-vertical-scroll-parameters
simple-pane
Programming with CAPI Windows
output-pane scrolling
Scroll values and initialization keywords
CAPI User Guide and Reference Manual (Unix version) - 3 Aug 2017