Skip to main content

document_tabs

Function document_tabs 

Source
pub fn document_tabs(
    ui: &mut Ui,
    id_salt: impl Hash + Debug,
    tabs: &[DocumentTab<'_>],
    active: usize,
) -> DocumentTabsOutput
Expand description

Document tabs: pills on bg.app; the active one on bg.panel, joined to the content below. The close × shows on hover and always on the active tab.