Skip to main content

apply_style

Function apply_style 

Source
pub fn apply_style(w: Widget, key: &str, value: &str) -> Widget
Expand description

One common style attribute applied to w as generated code would (layout attributes — position, size, dock, flex — are left to the caller; malformed values are ignored).