Module zng_wgt_scroll::node
source · Expand description
UI nodes used for building the scroll widget.
Functions§
- Create a node that converts
ACCESS_SCROLL_EVENT
to command requests. - Create a note that spawns the auto scroller on middle click and fulfill
AUTO_SCROLL_CMD
requests. - Renders a white circle with arrows that indicate what directions can be scrolled.
- Create a node that generates and presents the horizontal scrollbar.
- Overscroll visual indicator.
- Create a node that implements
PAGE_UP_CMD
,PAGE_DOWN_CMD
,PAGE_LEFT_CMD
andPAGE_RIGHT_CMD
scoped on the widget. - Create a node that implements
SCROLL_UP_CMD
,SCROLL_DOWN_CMD
,SCROLL_LEFT_CMD
andSCROLL_RIGHT_CMD
scoped on the widget. - Create a node that implements
SCROLL_TO_TOP_CMD
,SCROLL_TO_BOTTOM_CMD
,SCROLL_TO_LEFTMOST_CMD
andSCROLL_TO_RIGHTMOST_CMD
scoped on the widget. - Create a node that implements
SCROLL_TO_CMD
scoped on the widget and scroll to focused. - Create a node that implements scroll by touch gestures for the widget.
- Create a node that implements scroll-wheel handling for the widget.
- Create a node that generates and presents the scrollbar joiner.
- Create a node that generates and presents the vertical scrollbar.
- The actual content presenter.
- Create a node that implements
ZOOM_IN_CMD
,ZOOM_OUT_CMD
,ZOOM_TO_FIT_CMD
, andZOOM_RESET_CMD
scoped on the widget.