All Manuals > CAPI User Guide and Reference Manual > 21 CAPI Reference Entries

NextPrevUpTopContentsIndex

get-horizontal-scroll-parameters

Generic Function
Summary

Queries the scroll parameters of a horizontal scroll bar.

Package

capi

Signature

get-horizontal-scroll-parameters self &rest keys => parameter, parameter,...

Arguments

self

A displayed simple-pane.

keys

Keywords as below.

Values

parameter

The parameters are returned as multiple values, one for each key passed in keys and in the same order as the arguments.

Description

Retrieves the specified parameters of the horizontal scroll bar of self , which should be a displayed instance of a subclass of simple-pane which does internal scrolling (such as editor-pane).

The valid keys 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.

Notes

For the other pane classes, such as list-panel, the underlying widget determines what the scroll range and units are.

Example

See the following CAPI example files:

(example-edit-file "capi/output-panes/scroll-test") (example-edit-file "capi/output-panes/scrolling-without-bar") (example-edit-file "capi/output-panes/fixed-origin-scrolling")
See also

get-scroll-position
get-vertical-scroll-parameters
scroll
set-horizontal-scroll-parameters
simple-pane
output-pane scrolling


CAPI User Guide and Reference Manual (Unix version) - 3 Aug 2017

NextPrevUpTopContentsIndex