Function ratatui_scrollbar

Source
#[no_mangle]
pub extern "C" fn ratatui_scrollbar(
    handle: *mut c_void,
    area_id: u32,
    content_length: u32,
    position: u32,
    viewport_length: u32,
    orientation: u8,
)
Expand description

Queues a Scrollbar.

ยงParameters

  • content_length: total scrollable length in cells.
  • position: current scroll offset in cells (0..=content_length).
  • viewport_length: visible portion of the content in cells.
  • orientation: 0 VerticalRight, 1 VerticalLeft, 2 HorizontalBottom, 3 HorizontalTop.