pub struct DockArea<'tree, Tab> { /* private fields */ }
Expand description
Stores the layout and position of all its tabs
Keeps track of the currently focused leaf and currently active tabs
Implementations§
source§impl<'tree, Tab> DockArea<'tree, Tab>
impl<'tree, Tab> DockArea<'tree, Tab>
pub fn new(tree: &'tree mut Tree<Tab>) -> DockArea<'tree, Tab>
sourcepub fn show(self, ctx: &Context, tab_viewer: &mut impl TabViewer<Tab = Tab>)
pub fn show(self, ctx: &Context, tab_viewer: &mut impl TabViewer<Tab = Tab>)
Shows the docking area.
sourcepub fn show_inside(self, ui: &mut Ui, tab_viewer: &mut impl TabViewer<Tab = Tab>)
pub fn show_inside(self, ui: &mut Ui, tab_viewer: &mut impl TabViewer<Tab = Tab>)
Shows the docking hierarchy inside a Ui
.