Module zng_wgt_scroll::cmd
source · Expand description
Commands that control the scoped scroll widget.
The scroll widget implements all of this commands scoped to its widget ID.
Structs§
- Parameters for the scroll and page commands.
- Parameters for the
SCROLL_TO_CMD
.
Enums§
- Defines how much the
SCROLL_TO_CMD
will scroll to showcase the target widget. - Target for the
SCROLL_TO_CMD
.
Statics§
- Represents the auto scroll toggle.
- Represents the page down by one
v_page_unit
action. - Represents the page left by one
h_page_unit
action. - Represents the page right by one
h_page_unit
action. - Represents the page up by one
v_page_unit
action. - Represents the scroll down by one
v_line_unit
action. - Represents the scroll left by one
h_line_unit
action. - Represents the scroll right by one
h_line_unit
action. - Represents the scroll to bottom action.
- Represents the action of scrolling until a child widget is fully visible, the command can also adjust the zoom scale.
- Represents the scroll to leftmost action.
- Represents the scroll to rightmost action.
- Represents the scroll to top action.
- Represents the scroll up by one
v_line_unit
action. - Represents the zoom in action.
- Represents the zoom out action.
- Represents the reset zoom action.
- Represents the zoom to fit action.
Traits§
- Provides a target for scroll-to command methods.