Function ratatui_block

Source
#[no_mangle]
pub extern "C" fn ratatui_block(
    handle: *mut c_void,
    area_id: u32,
    title: *const c_char,
    borders: u8,
)
Expand description

Queues a Block widget with an optional title and per-edge borders.

borders is a bit field — 0x01 Top, 0x02 Bottom, 0x04 Left, 0x08 Right. The value 0x0F is treated as “all borders”.

The pending style (see ratatui_set_style) is consumed and applied to the block.