Function ratatui_line_gauge

Source
#[no_mangle]
pub extern "C" fn ratatui_line_gauge(
    handle: *mut c_void,
    area_id: u32,
    ratio: f32,
    label: *const c_char,
)
Expand description

Queues a horizontal single-line LineGauge.

ยงParameters

  • ratio: progress in [0.0, 1.0]; values outside the range are clamped.
  • label: text shown next to the gauge (pass null or empty for none).