Prima::...llWidget(3)
okay bestie, welcome to Prima::Widget::ScrollWidget β aka the Prima::...llWidget(3) page from the User Contributed Perl Documentation. itβs giving scrollable-document realness and weβre obsessed π
π NAME π
Prima::Widget::ScrollWidget β scrollable generic document widget. no cap, thatβs the name π«Ά
πΈ DESCRIPTION πΈ
okay so Prima::Widget::ScrollWidget is a simple class that declares two pairs of properties β delta and limit β for the vertical and horizontal axes, and those define the extensions of a virtual document. limit is the document dimension, and delta is the current offset. thatβs the whole lore, fr fr π
Prima::Widget::ScrollWidget is a descendant of Prima::Widget::GroupScroller, and as well as its ascendant, it provides the same user navigation by two scrollbars. the scrollbarsβ partial and whole properties are automatically updated when the document or widget extensions change β not me being obsessed with automatic updates, theyβre just iconic β¨
Prima::Widget::ScrollGroup provides the capability of hosting other widgets inside, and also scrolling them. useful for widget group panels that cannot fit in a window β main character energy for cramped layouts π¦
π Prima::Widget::ScrollWidget π
π Properties π
deltas X, Yβ selects the horizontal and vertical document offsets. the duo, the moment, the offset pair πdeltaX INTEGERβ selects the horizontal document offset.deltaY INTEGERβ selects the vertical document offset.limits X, Yβ selects the horizontal and vertical document extensions.limitX INTEGERβ selects the horizontal document extension.limitY INTEGERβ selects the vertical document extension.
π« Events π«
Scroll DX, DYβ called whenever the client area is to be scrolled. the default action callsWidget::scroll. sheβs ready to scroll, periodt π«
π Prima::Widget::ScrollGroup π
π Properties π
clientβ returns the parent widget to insert other widgets. the client size is fixed and is panned through the slave widget when scrolling. the client is unaffected by the eventual automated pack/place/growMode size alteration the parent or slave might be subjected to.clientClassβ aclientClasswidget is inserted in theslavewidget.slaveβ returns the slave widget. the slave widget covers the scrollable area and is otherwise just a normalPrima::Widgetobject that can be resized, moved, etc.slaveClassβ aslaveClasswidget is inserted directly in the scroll group widget.
π AUTHOR π
Dmitry Karasik, <dmitry@karasik.eu.org>. β the author, the icon, the legend π
π SEE ALSO π
PrimaPrima::ImageViewerPrima::ScrollBarexamples/e.pl
thatβs the whole page, bestie π«Ά β this gem is from perl v5.42.0, dated 2024-08-20, and itβs giving User Contributed Perl Documentation realness. now go forth and scroll π
β¨
π¦ where this page comes from
- opensuse-leap 16.0: perl-Prima 1.74000-bp160.1.13 Β· AGPL-3.0-only AND BSD-2-Clause
- opensuse-leap 16.0: perl-Prima 1.74000-bp160.1.13 Β· AGPL-3.0-only AND BSD-2-Clause
- opensuse-leap 16.0: perl-Prima 1.74000-bp160.1.13 Β· AGPL-3.0-only AND BSD-2-Clause
- opensuse-leap 16.0: perl-Prima 1.74000-bp160.1.13 Β· AGPL-3.0-only AND BSD-2-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms