Skip to main content

Module widgets

Module widgets 

Source

Structs§

RowsView
Draws already-built rows directly into a buffer area.
TextInput

Constants§

SCROLLBAR_WIDTH
Columns a vertical scrollbar track occupies.

Functions§

key_hints
A footer’s key hints, each key in the accent colour ahead of its muted description. Every full-screen route labels its keys the same way.
render_vertical_scrollbar
Draws the vertical scrollbar for content_rows of content scrolled to offset, sized against the rows area can actually show.
row_area
The full-width, one-row Rect for the index-th visible row of area, or nothing once index falls past the bottom.
rows_and_track
Splits area into the rows and the scrollbar track beside them, so the track never sits on top of a row. Without a scrollbar the rows get it all.

Type Aliases§

KeyHint
A key and what it does, for key_hints. Borrowed for the fixed labels most footers use, owned for the ones that interpolate live state.