Skip to main content

popup_block

Function popup_block 

Source
pub fn popup_block(title: Line<'static>, theme: &Theme) -> Block<'static>
Expand description

Creates a bordered Block for a floating popup.

Always uses Theme::border_popup regardless of focus state, since a visible popup is by definition the active element.