Trait cosmic::iced_style::pane_grid::StyleSheet
source · pub trait StyleSheet {
type Style: Default;
// Required methods
fn hovered_region(&self, style: &Self::Style) -> Appearance;
fn picked_split(&self, style: &Self::Style) -> Option<Line>;
fn hovered_split(&self, style: &Self::Style) -> Option<Line>;
}
Expand description
A set of rules that dictate the style of a container.
Required Associated Types§
sourcetype Style: Default
type Style: Default
The supported style of the StyleSheet
.
Required Methods§
sourcefn hovered_region(&self, style: &Self::Style) -> Appearance
fn hovered_region(&self, style: &Self::Style) -> Appearance
The Appearance
to draw when a pane is hovered.