pub fn panel_block(
title: Line<'static>,
focused: bool,
theme: &Theme,
) -> Block<'static>Expand description
Creates a bordered Block for a main-content panel.
focused = true→ usesTheme::border_focused(accent color, e.g. Green+Bold).focused = false→ usesTheme::border_unfocused(e.g. White).
The title is any Line<'static> — use widget_title or crate::tabs::tab_line
to build it, or pass Line::from("My Panel") for a plain string.
For a simple focusable widget with an optional digit shortcut, prefer
focusable_block which builds both the title and the block in one call.