pub type StaticContentFactory = Rc<dyn Fn(&TabHandle) -> Box<dyn Widget>>;Expand description
Closure that builds a static tab’s content widget. Called once
per static tab — on the TabWidget’s first build that includes
it. The resulting pane is then memoized: rebuilds caused by
adjacent dynamic-model mutations reuse the same pane WidgetId, so
internal state (focus, scroll, animation progress, …) survives.
Aliased Type§
pub struct StaticContentFactory { /* private fields */ }