1Prima::ScrollWidget(3)User Contributed Perl DocumentationPrima::ScrollWidget(3)
2
3
4
6 Prima::ScrollWidget - scrollable generic document widget.
7
9 "Prima::ScrollWidget" is a simple class that declares two pairs of
10 properties, delta and limit for vertical and horizontal axes, which
11 define a a virtual document. limit is the document dimension, and delta
12 is the current offset.
13
14 "Prima::ScrollWidget" is a descendant of "Prima::GroupScroller", and,
15 as well as its ascendant, provides same user navigation by two
16 scrollbars. The scrollbars' "partial" and "whole" properties are
17 maintained if the document or widget extensions change.
18
20 Properties
21 deltas X, Y
22 Selects horizontal and vertical document offsets.
23
24 deltaX INTEGER
25 Selects horizontal document offset.
26
27 deltaY INTEGER
28 Selects vertical document offset.
29
30 limits X, Y
31 Selects horizontal and vertical document extensions.
32
33 limitX INTEGER
34 Selects horizontal document extension.
35
36 limitY INTEGER
37 Selects vertical document extension.
38
39 Events
40 Scroll DX, DY
41 Called whenever the client area is to be scrolled. The default
42 action calls "Widget::scroll" .
43
45 Dmitry Karasik, <dmitry@karasik.eu.org>.
46
48 Prima, Prima::ImageViewer, Prima::IntUtils, Prima::ScrollBar,
49 examples/e.pl.
50
51
52
53perl v5.36.0 2022-07-22 Prima::ScrollWidget(3)