Skip to main content

on_panel

Function on_panel 

pub fn on_panel(theme: &Theme) -> Theme
Expand description

The theme a floating Panel’s contents are drawn with: theme as seen from the panel_ground (Theme::on_ground). paint_panel returns it; a surface that paints its panel in one pass and its contents in another derives it here.