Skip to main content

build

Function build 

Source
pub fn build(
    layout: &[LayoutWindow],
    snap: &TowerSnapshot,
    renderers: &[RendererEntry],
    view_pid: &dyn Fn(u32) -> u32,
) -> TowerPanes
Expand description

The Panes view from a sample. view_pid maps a process’s PID to the PID its renderer reports for itself (they differ only inside Linux’s sandbox).