Module cosmic::iced::widget::scrollable
source · Expand description
Navigate an endless amount of content with a scrollbar.
Structs§
- The amount of absolute offset in each direction of a
Scrollable
. - Properties of a scrollbar within a
Scrollable
. - The amount of relative offset in each direction of a
Scrollable
. - A widget that can vertically display an infinite amount of content with a scrollbar.
- The appearance of a scrollable.
- The appearance of the scroller of a scrollable.
- The local state of a
Scrollable
. - The current
Viewport
of theScrollable
.
Enums§
- Alignment of the scrollable’s content relative to it’s
Viewport
in one direction. - The direction of
Scrollable
.
Traits§
- A set of rules that dictate the style of a scrollable.
Functions§
- Draws a
Scrollable
. - Computes the layout of a
Scrollable
. - Computes the current
mouse::Interaction
of aScrollable
. - Produces a
Command
that scrolls theScrollable
with the givenId
to the providedAbsoluteOffset
along the x & y axis. - Produces a
Command
that snaps theScrollable
with the givenId
to the providedpercentage
along the x & y axis.