Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anhosh/egui_dock
/ functions
Functions
366 in github.com/anhosh/egui_dock
⨍
Functions
366
◇
Types & classes
62
Method
map_tabs
Returns a new [`Surface`] while mapping the tab type.
src/dock_state/surface.rs:143
Method
map_tabs
Returns a new [`Tree`] while mapping the tab type.
src/dock_state/tree/mod.rs:814
Method
map_tabs
Returns a new [`Node`] while mapping the tab type.
src/dock_state/tree/node/mod.rs:376
Method
new
(tree: &'tree mut DockState<Tab>)
src/widgets/dock_area/mod.rs:50
Method
new
Create a new tree with given tabs at the main surface's root node.
src/dock_state/mod.rs:114
Method
new
Create a default window state.
src/dock_state/window_state.rs:48
Method
new
(tabs: Vec<Tab>)
src/dock_state/tree/mod.rs:172
Method
new
Creates a new fully qualified path to a tab.
src/dock_state/tree/tab_index.rs:29
Method
new
Creates a fully qualified new path to a node.
src/dock_state/tree/node_index.rs:118
Method
new
(tree: &'a Tree<Tab>)
src/dock_state/tree/tab_iter.rs:11
Method
new
Create a new ``SplitNode``
src/dock_state/tree/node/split.rs:22
Method
new
Create New LeafNode with specified ``tabs``, all other internal values will be filled by "nothing" defaults.
src/dock_state/tree/node/leaf.rs:32
Method
next
(&mut self)
src/dock_state/tree/tab_iter.rs:23
Method
on_add
(&mut self, path: NodePath)
examples/tab_add.rs:30
Method
on_close
(&mut self, _tab: &mut Self::Tab)
examples/simple.rs:29
Method
on_close
(&mut self, tab: &mut Self::Tab)
examples/hello.rs:121
Method
on_rect_changed
(&mut self, _tab: &mut Self::Tab)
examples/save_load_dock_state.rs:34
Method
push_to_first_leaf
Push a tab to the first available `Leaf` or create a new leaf if an `Empty` node is encountered.
src/dock_state/mod.rs:475
Method
rect
Get the Area which this ``SplitNode`` occupies.
src/dock_state/tree/node/split.rs:42
Method
rect
(&self)
src/dock_state/tree/node/mod.rs:72
Method
rect
Get a [`Rect`] representing the area this [`LeafNode`] occupies on screen.
src/dock_state/tree/node/leaf.rs:74
Method
regular
(node: NodePath)
examples/tab_add_popup.rs:27
Function
remove_and_retain
()
src/dock_state/tree/mod.rs:988
Method
remove_tab
(&mut self, tab_index: TabIndex)
src/dock_state/tree/node/mod.rs:323
Method
remove_tab
(&mut self, tab_index: impl Into<TabIndex>)
src/dock_state/tree/node/leaf.rs:123
Function
retain_none_then_push
()
src/dock_state/mod.rs:754
Method
retain_tabs
Removes all tabs for which `predicate` returns `false`. Any remaining empty [`Node`]s and are also removed, and if this [`Surface`] remains empty, it'
src/dock_state/surface.rs:164
Method
retain_tabs
Removes all tabs for which `predicate` returns `false`. If this [`Node`] remains empty, it will change to [`Node::Empty`].
src/dock_state/tree/node/mod.rs:395
Method
retain_tabs
Removes all tabs for which `predicate` returns `false`.
src/dock_state/tree/node/leaf.rs:132
Function
retain_trailing_empty
()
src/dock_state/tree/mod.rs:1004
Method
root
()
src/dock_state/tree/node_index.rs:31
Method
root_node_mut
Acquire a mutable borrow to the [`Node`] at the root of the tree. Returns [`None`] if the tree is empty. # Examples ```rust # use egui_dock::{DockSt
src/dock_state/tree/mod.rs:293
Method
secondary_button_modifiers
The key combination used to activate secondary buttons on tab bars. By default it's [`Modifiers::SHIFT`].
src/widgets/dock_area/mod.rs:150
Method
set_active_tab
( &mut self, node_index: impl Into<NodeIndex>, tab_index: impl Into<TabIndex>, )
src/dock_state/tree/mod.rs:718
Method
set_active_tab
(&mut self, active_tab: impl Into<TabIndex>)
src/dock_state/tree/node/leaf.rs:47
Method
set_collapsed
(&mut self, collapsed: bool)
src/dock_state/tree/node/mod.rs:281
Method
set_collapsed_leaf_count
(&mut self, count: i32)
src/dock_state/tree/node/mod.rs:295
Method
set_rect
(&mut self, new_rect: Rect)
src/dock_state/tree/node/split.rs:37
Method
set_rect
(&mut self, new_rect: Rect)
src/dock_state/tree/node/leaf.rs:59
Method
show_window_close_buttons
(mut self, show_window_close_buttons: bool)
src/widgets/dock_area/mod.rs:181
Method
show_window_collapse_buttons
(mut self, show_window_collapse_buttons: bool)
src/widgets/dock_area/mod.rs:190
Method
split
(&mut self, split: Split, fraction: f32)
src/dock_state/tree/node/mod.rs:143
Method
split_above
( &mut self, parent: NodeIndex, fraction: f32, tabs: Vec<Tab>, )
src/dock_state/tree/mod.rs:355
Method
split_tabs
( &mut self, parent: NodeIndex, split: Split, fraction: f32, tabs: Vec
src/dock_state/tree/mod.rs:329
Method
surfaces_count
Returns the current number of surfaces.
src/dock_state/mod.rs:481
Function
tab_body_ids_differ_between_surfaces
()
src/widgets/dock_area/show/leaf.rs:1322
Method
tab_context_menus
Whether tabs show a context menu when right-clicked. By default it's `true`.
src/widgets/dock_area/mod.rs:115
Method
tab_style_editor_ui
(ui: &mut Ui, tab_style: &mut TabInteractionStyle)
examples/hello.rs:282
Function
tabs
(tree: &Tree<i32>)
src/dock_state/tree/tab_iter.rs:53
Method
tabs
(&self)
src/dock_state/tree/node/leaf.rs:80
Method
tabs_mut
(&mut self)
src/dock_state/tree/node/leaf.rs:86
Function
test_tabs_iter
()
src/dock_state/tree/tab_iter.rs:52
Method
title
(&mut self, tab: &mut Self::Tab)
examples/reject_windows.rs:26
Method
title
(&mut self, tab: &mut Self::Tab)
examples/tab_add.rs:22
Method
title
(&self)
examples/tab_add_popup.rs:41
Method
title
(&mut self, title: &mut Title)
examples/text_editor.rs:27
Method
title
(&mut self, tab: &mut Self::Tab)
examples/simple.rs:21
Method
title
(&mut self, tab: &mut Self::Tab)
examples/save_load_dock_state.rs:26
Method
ui
(&mut self, ui: &mut egui::Ui, tab: &mut Self::Tab)
examples/reject_windows.rs:30
Method
ui
(&mut self, ui: &mut egui::Ui, tab: &mut Self::Tab)
examples/tab_add.rs:26
Method
ui
(&mut self, ui: &mut egui::Ui, tab: &mut Self::Tab)
examples/tab_add_popup.rs:75
Method
ui
(&mut self, ui: &mut egui::Ui, title: &mut Title)
examples/text_editor.rs:31
Method
ui
(&mut self, ui: &mut egui::Ui, tab: &mut Self::Tab)
examples/simple.rs:25
Method
ui
(&mut self, ui: &mut egui::Ui, tab: &mut Self::Tab)
examples/save_load_dock_state.rs:30
Method
window_bounds
(mut self, bounds: Rect)
src/widgets/dock_area/mod.rs:172
Method
with_translations
Sets translations of text later displayed in [`DockArea`](crate::DockArea).
src/dock_state/mod.rs:123
← previous
301–366 of 366, ranked by callers