pub type DockRailSlot = Rc<dyn Fn() -> Box<dyn Widget>>;Expand description
Factory for a rail slot widget (rebuilt on each rail rebuild).
A slot that wants to match the rail’s current item size binds
DockingModel::rail_size_mode_signal
— the rail rebuilds its slots whenever the size mode changes, so reading the
signal in the factory is enough to keep the slot in step.
Aliased Type§
pub struct DockRailSlot { /* private fields */ }