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
↓ 1 callers
Method
tab_bar_scroll
( &mut self, ui: &mut Ui, state: &State, path: NodePath, actual_width:
src/widgets/dock_area/show/leaf.rs:1072
↓ 1 callers
Method
tab_body
( &mut self, ui: &mut Ui, state: &State, path: NodePath, tab_viewer: &
src/widgets/dock_area/show/leaf.rs:1163
↓ 1 callers
Function
tab_body_id
(dock_area_id: Id, path: NodePath, tab_id: Id)
src/widgets/dock_area/show/leaf.rs:23
↓ 1 callers
Method
tab_close_all
( &mut self, ui: &mut Ui, path: NodePath, tabbar_outer_rect: Rect, fad
src/widgets/dock_area/show/leaf.rs:562
↓ 1 callers
Method
tab_collapse
Draws the collapse button.
src/widgets/dock_area/show/leaf.rs:698
↓ 1 callers
Method
tab_plus
( &mut self, ui: &mut Ui, path: NodePath, tab_viewer: &mut impl TabViewer<Tab
src/widgets/dock_area/show/leaf.rs:487
↓ 1 callers
Method
tabs
( &mut self, tabs_ui: &mut Ui, state: &mut State, path: NodePath, tab_
src/widgets/dock_area/show/leaf.rs:260
↓ 1 callers
Method
tabs
(&self)
src/dock_state/tree/node/mod.rs:175
↓ 1 callers
Method
ui
(&mut self, ui: &mut Ui, tab: &mut Self::Tab)
examples/hello.rs:97
↓ 1 callers
Method
window_expand
Draws the expand window button.
src/widgets/dock_area/show/window_surface.rs:154
↓ 1 callers
Method
window_update_collapsed
Updates the collapsed state of the node and its parents.
src/widgets/dock_area/show/leaf.rs:912
Method
add_popup
(&mut self, ui: &mut egui::Ui, path: NodePath)
examples/tab_add_popup.rs:79
Method
allowed_in_windows
(&self, tab: &mut Self::Tab)
examples/reject_windows.rs:49
Method
append_tab
(&mut self, tab: Tab)
src/dock_state/tree/node/leaf.rs:95
Method
bitand
(self, rhs: Self)
src/widgets/dock_area/allowed_splits.rs:21
Method
closeable
(&mut self, _tab: &mut Self::Tab)
src/widgets/tab_viewer.rs:50
Method
context_menu
(&mut self, ui: &mut Ui, tab: &mut Self::Tab, _path: NodePath)
examples/hello.rs:107
Method
default
()
src/style.rs:355
Method
default
()
src/dock_state/translations.rs:66
Method
default
()
src/dock_state/window_state.rs:33
Method
default
()
src/dock_state/tree/mod.rs:143
Method
default
()
examples/reject_windows.rs:61
Method
default
()
examples/tab_add.rs:41
Method
default
()
examples/tab_add_popup.rs:99
Method
default
()
examples/text_editor.rs:45
Method
default
()
examples/simple.rs:40
Method
default
()
examples/hello.rs:522
Method
default
()
examples/save_load_dock_state.rs:59
Method
dragged
Returns if this window is currently being dragged or not.
src/dock_state/window_state.rs:74
Method
draw_arrow
(collapsed: bool, ui: &mut Ui, color: Color32, arrow_rect: Rect)
src/widgets/dock_area/show/leaf.rs:851
Method
draw_chevron_down
(ui: &mut Ui, style: &Style, color: Color32, arrow_rect: Rect)
src/widgets/dock_area/show/leaf.rs:873
Method
draw_chevron_right
( ui: &mut Ui, response: &mut Response, style: &Style, color: Color32,
src/widgets/dock_area/show/window_surface.rs:207
Method
draw_close_window_symbol
(ui: &mut Ui, stroke_color: Color32, close_all_rect: Rect)
src/widgets/dock_area/show/leaf.rs:826
Method
english
Default English translations.
src/dock_state/translations.rs:57
Method
fancy
(node: NodePath)
examples/tab_add_popup.rs:34
Method
filter_tabs
Returns a new [`DockState`] while filtering the tab type. Any remaining empty [`Node`]s and [`Surface`]s are removed. ``` # use egui_dock::{DockState
src/dock_state/mod.rs:670
Method
filter_tabs
Returns a new [`Surface`] while filtering the tab type. Any remaining empty [`Node`]s and are removed, and if this [`Surface`] remains empty, it'll ch
src/dock_state/surface.rs:153
Method
filter_tabs
Returns a new [`Tree`] while filtering the tab type. Any remaining empty [`Node`]s are removed.
src/dock_state/tree/mod.rs:823
Method
filter_tabs
Returns a new [`Node`] while filtering the tab type. If this [`Node`] remains empty, it will change to [`Node::Empty`].
src/dock_state/tree/node/mod.rs:385
Method
find_active
(&mut self)
src/dock_state/tree/mod.rs:185
Method
find_active_focused
(&mut self)
src/dock_state/mod.rs:175
Method
find_active_focused
(&mut self)
src/dock_state/tree/mod.rs:581
Method
find_main_surface_tab
Find the given tab on the main surface. Returns which node and where in that node the tab is. The returned [`NodeIndex`] will always point to a [`No
src/dock_state/mod.rs:744
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
src/widgets/dock_area/mod.rs:213
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
src/dock_state/tree/mod.rs:137
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
src/dock_state/tree/tab_iter.rs:46
Method
focused_leaf
(&self)
src/dock_state/tree/mod.rs:590
Method
from
(index: usize)
src/dock_state/surface_index.rs:8
Method
from
(value: (NodePath, TabInsert))
src/dock_state/tree/mod.rs:90
Method
from
(index: usize)
src/dock_state/tree/tab_index.rs:10
Method
from
(index: usize)
src/dock_state/tree/node_index.rs:12
Method
from_egui
Derives relevant fields from `egui::Style` and sets the remaining fields to their default values. Fields overwritten by [`egui::Style`] are: - [`Styl
src/style.rs:546
Method
from_egui_active
Derives relevant fields from `egui::Style` for an active tab and sets the remaining fields to their default values. Fields overwritten by [`egui::Sty
src/style.rs:672
Method
from_egui_active_with_kb_focus
Derives relevant fields from `egui::Style` for an active tab with keyboard focus and sets the remaining fields to their default values. Fields overwr
src/style.rs:736
Method
from_egui_focused
Derives relevant fields from `egui::Style` for a focused tab and sets the remaining fields to their default values. Fields overwritten by [`egui::Sty
src/style.rs:709
Method
from_egui_focused_with_kb_focus
Derives relevant fields from `egui::Style` for a focused tab with keyboard focus and sets the remaining fields to their default values. Fields overwr
src/style.rs:764
Method
from_egui_hovered
Derives relevant fields from `egui::Style` for a hovered tab and sets the remaining fields to their default values. Fields overwritten by [`egui::Sty
src/style.rs:722
Method
from_egui_inactive
Derives relevant fields from `egui::Style` for an inactive tab and sets the remaining fields to their default values. Fields overwritten by [`egui::S
src/style.rs:691
Method
from_egui_inactive_with_kb_focus
Derives relevant fields from `egui::Style` for an inactive tab with keyboard focus and sets the remaining fields to their default values. Fields over
src/style.rs:750
Method
from_u8
(u8: u8)
src/widgets/dock_area/allowed_splits.rs:29
Method
get_surface
(&self, surface: SurfaceIndex)
src/dock_state/mod.rs:188
Method
get_surface_mut
(&mut self, surface: SurfaceIndex)
src/dock_state/mod.rs:182
Method
id
Unique ID for this tab. If not implemented, uses tab title text as an ID source.
src/widgets/tab_viewer.rs:25
Method
index
(&self, index: SurfaceIndex)
src/dock_state/mod.rs:58
Method
index
(&self, index: NodeIndex)
src/dock_state/surface.rs:26
Method
index
(&self, index: NodeIndex)
src/dock_state/tree/mod.rs:157
Method
index
(&self, index: TabIndex)
src/dock_state/tree/node/leaf.rs:153
Method
index_mut
(&mut self, index: SurfaceIndex)
src/dock_state/mod.rs:70
Method
index_mut
(&mut self, index: NodeIndex)
src/dock_state/surface.rs:34
Method
index_mut
(&mut self, index: NodeIndex)
src/dock_state/tree/mod.rs:164
Method
index_mut
(&mut self, index: TabIndex)
src/dock_state/tree/node/leaf.rs:159
Method
insert_tab
(&mut self, tab_index: impl Into<TabIndex>, tab: Tab)
src/dock_state/tree/node/leaf.rs:109
Method
is_closeable
(&self, tab: &Self::Tab)
examples/hello.rs:117
Method
is_empty
Returns `true` when the [`LeafNode`] contains no tabs.
src/dock_state/tree/node/leaf.rs:69
Method
is_right
(self)
src/dock_state/tree/node_index.rs:71
Method
is_window
Returns if this tab destination is a [`Window`](TabDestination::Window).
src/dock_state/tree/mod.rs:103
Method
iter_all_tabs
Returns an [`Iterator`] of **all** tabs in the dock state, and the indices of containing surfaces and nodes.
src/dock_state/mod.rs:551
Method
iter_all_tabs
Returns an [`Iterator`] of **all** tabs in this surface's tree and their corresponding paths within the surface.
src/dock_state/surface.rs:104
Method
iter_all_tabs_mut
Returns a mutable [`Iterator`] of **all** tabs in the dock state, and the indices of containing surfaces and nodes.
src/dock_state/mod.rs:564
Method
iter_all_tabs_mut
Returns a mutable [`Iterator`] of **all** tabs in this surface's tree and their corresponding paths within the surface.
src/dock_state/surface.rs:113
Method
iter_leaves
Returns an immutable [`Iterator`] of all [``LeafNode``]s in the dock state.
src/dock_state/mod.rs:597
Method
iter_leaves_mut
Returns a mutable [`Iterator`] of all [`LeafNode`]s in the dock state.
src/dock_state/mod.rs:603
Method
iter_main_surface_nodes
(&self)
src/dock_state/mod.rs:577
Method
iter_main_surface_nodes_mut
(&mut self)
src/dock_state/mod.rs:583
Method
iter_nodes
(&self)
src/dock_state/mod.rs:589
Method
iter_surfaces
Returns an [`Iterator`] over all surfaces.
src/dock_state/mod.rs:486
Method
iter_surfaces_mut
Returns a mutable [`Iterator`] over all surfaces.
src/dock_state/mod.rs:499
Method
leaf
Immutably borrows a leaf node at the given path. Returns `Err` if the path is invalid or the node at the path is not a leaf.
src/dock_state/tree/mod.rs:539
Method
leaf
(tab: Tab)
src/dock_state/tree/node/mod.rs:30
Method
leaf_with
(tabs: Vec<Tab>)
src/dock_state/tree/node/mod.rs:52
Method
load
(ctx: &Context, id: Id)
src/widgets/dock_area/state.rs:16
Method
load_json
()
examples/save_load_dock_state.rs:50
Function
main
()
examples/reject_windows.rs:6
Function
main
()
examples/tab_add.rs:6
Function
main
()
examples/tab_add_popup.rs:7
Function
main
()
examples/text_editor.rs:11
Function
main
()
examples/simple.rs:7
Function
main
()
examples/save_load_dock_state.rs:10
Method
main
()
src/dock_state/surface_index.rs:16
Method
map_tabs
Returns a new [`DockState`] while mapping the tab type. ``` # use egui_dock::{DockState, Node}; let dock_state = DockState::new(vec![1, 2, 3]); let m
src/dock_state/mod.rs:652
← previous
next →
201–300 of 366, ranked by callers