MCPcopy Create free account

hub / github.com/anhosh/egui_dock / functions

Functions366 in github.com/anhosh/egui_dock

↓ 1 callersMethodtab_bar_scroll
( &mut self, ui: &mut Ui, state: &State, path: NodePath, actual_width:
src/widgets/dock_area/show/leaf.rs:1072
↓ 1 callersMethodtab_body
( &mut self, ui: &mut Ui, state: &State, path: NodePath, tab_viewer: &
src/widgets/dock_area/show/leaf.rs:1163
↓ 1 callersFunctiontab_body_id
(dock_area_id: Id, path: NodePath, tab_id: Id)
src/widgets/dock_area/show/leaf.rs:23
↓ 1 callersMethodtab_close_all
( &mut self, ui: &mut Ui, path: NodePath, tabbar_outer_rect: Rect, fad
src/widgets/dock_area/show/leaf.rs:562
↓ 1 callersMethodtab_collapse
Draws the collapse button.
src/widgets/dock_area/show/leaf.rs:698
↓ 1 callersMethodtab_plus
( &mut self, ui: &mut Ui, path: NodePath, tab_viewer: &mut impl TabViewer<Tab
src/widgets/dock_area/show/leaf.rs:487
↓ 1 callersMethodtabs
( &mut self, tabs_ui: &mut Ui, state: &mut State, path: NodePath, tab_
src/widgets/dock_area/show/leaf.rs:260
↓ 1 callersMethodtabs
(&self)
src/dock_state/tree/node/mod.rs:175
↓ 1 callersMethodui
(&mut self, ui: &mut Ui, tab: &mut Self::Tab)
examples/hello.rs:97
↓ 1 callersMethodwindow_expand
Draws the expand window button.
src/widgets/dock_area/show/window_surface.rs:154
↓ 1 callersMethodwindow_update_collapsed
Updates the collapsed state of the node and its parents.
src/widgets/dock_area/show/leaf.rs:912
Methodadd_popup
(&mut self, ui: &mut egui::Ui, path: NodePath)
examples/tab_add_popup.rs:79
Methodallowed_in_windows
(&self, tab: &mut Self::Tab)
examples/reject_windows.rs:49
Methodappend_tab
(&mut self, tab: Tab)
src/dock_state/tree/node/leaf.rs:95
Methodbitand
(self, rhs: Self)
src/widgets/dock_area/allowed_splits.rs:21
Methodcloseable
(&mut self, _tab: &mut Self::Tab)
src/widgets/tab_viewer.rs:50
Methodcontext_menu
(&mut self, ui: &mut Ui, tab: &mut Self::Tab, _path: NodePath)
examples/hello.rs:107
Methoddefault
()
src/style.rs:355
Methoddefault
()
src/dock_state/translations.rs:66
Methoddefault
()
src/dock_state/window_state.rs:33
Methoddefault
()
src/dock_state/tree/mod.rs:143
Methoddefault
()
examples/reject_windows.rs:61
Methoddefault
()
examples/tab_add.rs:41
Methoddefault
()
examples/tab_add_popup.rs:99
Methoddefault
()
examples/text_editor.rs:45
Methoddefault
()
examples/simple.rs:40
Methoddefault
()
examples/hello.rs:522
Methoddefault
()
examples/save_load_dock_state.rs:59
Methoddragged
Returns if this window is currently being dragged or not.
src/dock_state/window_state.rs:74
Methoddraw_arrow
(collapsed: bool, ui: &mut Ui, color: Color32, arrow_rect: Rect)
src/widgets/dock_area/show/leaf.rs:851
Methoddraw_chevron_down
(ui: &mut Ui, style: &Style, color: Color32, arrow_rect: Rect)
src/widgets/dock_area/show/leaf.rs:873
Methoddraw_chevron_right
( ui: &mut Ui, response: &mut Response, style: &Style, color: Color32,
src/widgets/dock_area/show/window_surface.rs:207
Methoddraw_close_window_symbol
(ui: &mut Ui, stroke_color: Color32, close_all_rect: Rect)
src/widgets/dock_area/show/leaf.rs:826
Methodenglish
Default English translations.
src/dock_state/translations.rs:57
Methodfancy
(node: NodePath)
examples/tab_add_popup.rs:34
Methodfilter_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
Methodfilter_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
Methodfilter_tabs
Returns a new [`Tree`] while filtering the tab type. Any remaining empty [`Node`]s are removed.
src/dock_state/tree/mod.rs:823
Methodfilter_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
Methodfind_active
(&mut self)
src/dock_state/tree/mod.rs:185
Methodfind_active_focused
(&mut self)
src/dock_state/mod.rs:175
Methodfind_active_focused
(&mut self)
src/dock_state/tree/mod.rs:581
Methodfind_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
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
src/widgets/dock_area/mod.rs:213
Methodfmt
(&self, f: &mut fmt::Formatter<'_>)
src/dock_state/tree/mod.rs:137
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
src/dock_state/tree/tab_iter.rs:46
Methodfocused_leaf
(&self)
src/dock_state/tree/mod.rs:590
Methodfrom
(index: usize)
src/dock_state/surface_index.rs:8
Methodfrom
(value: (NodePath, TabInsert))
src/dock_state/tree/mod.rs:90
Methodfrom
(index: usize)
src/dock_state/tree/tab_index.rs:10
Methodfrom
(index: usize)
src/dock_state/tree/node_index.rs:12
Methodfrom_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
Methodfrom_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
Methodfrom_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
Methodfrom_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
Methodfrom_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
Methodfrom_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
Methodfrom_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
Methodfrom_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
Methodfrom_u8
(u8: u8)
src/widgets/dock_area/allowed_splits.rs:29
Methodget_surface
(&self, surface: SurfaceIndex)
src/dock_state/mod.rs:188
Methodget_surface_mut
(&mut self, surface: SurfaceIndex)
src/dock_state/mod.rs:182
Methodid
Unique ID for this tab. If not implemented, uses tab title text as an ID source.
src/widgets/tab_viewer.rs:25
Methodindex
(&self, index: SurfaceIndex)
src/dock_state/mod.rs:58
Methodindex
(&self, index: NodeIndex)
src/dock_state/surface.rs:26
Methodindex
(&self, index: NodeIndex)
src/dock_state/tree/mod.rs:157
Methodindex
(&self, index: TabIndex)
src/dock_state/tree/node/leaf.rs:153
Methodindex_mut
(&mut self, index: SurfaceIndex)
src/dock_state/mod.rs:70
Methodindex_mut
(&mut self, index: NodeIndex)
src/dock_state/surface.rs:34
Methodindex_mut
(&mut self, index: NodeIndex)
src/dock_state/tree/mod.rs:164
Methodindex_mut
(&mut self, index: TabIndex)
src/dock_state/tree/node/leaf.rs:159
Methodinsert_tab
(&mut self, tab_index: impl Into<TabIndex>, tab: Tab)
src/dock_state/tree/node/leaf.rs:109
Methodis_closeable
(&self, tab: &Self::Tab)
examples/hello.rs:117
Methodis_empty
Returns `true` when the [`LeafNode`] contains no tabs.
src/dock_state/tree/node/leaf.rs:69
Methodis_right
(self)
src/dock_state/tree/node_index.rs:71
Methodis_window
Returns if this tab destination is a [`Window`](TabDestination::Window).
src/dock_state/tree/mod.rs:103
Methoditer_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
Methoditer_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
Methoditer_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
Methoditer_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
Methoditer_leaves
Returns an immutable [`Iterator`] of all [``LeafNode``]s in the dock state.
src/dock_state/mod.rs:597
Methoditer_leaves_mut
Returns a mutable [`Iterator`] of all [`LeafNode`]s in the dock state.
src/dock_state/mod.rs:603
Methoditer_main_surface_nodes
(&self)
src/dock_state/mod.rs:577
Methoditer_main_surface_nodes_mut
(&mut self)
src/dock_state/mod.rs:583
Methoditer_nodes
(&self)
src/dock_state/mod.rs:589
Methoditer_surfaces
Returns an [`Iterator`] over all surfaces.
src/dock_state/mod.rs:486
Methoditer_surfaces_mut
Returns a mutable [`Iterator`] over all surfaces.
src/dock_state/mod.rs:499
Methodleaf
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
Methodleaf
(tab: Tab)
src/dock_state/tree/node/mod.rs:30
Methodleaf_with
(tabs: Vec<Tab>)
src/dock_state/tree/node/mod.rs:52
Methodload
(ctx: &Context, id: Id)
src/widgets/dock_area/state.rs:16
Methodload_json
()
examples/save_load_dock_state.rs:50
Functionmain
()
examples/reject_windows.rs:6
Functionmain
()
examples/tab_add.rs:6
Functionmain
()
examples/tab_add_popup.rs:7
Functionmain
()
examples/text_editor.rs:11
Functionmain
()
examples/simple.rs:7
Functionmain
()
examples/save_load_dock_state.rs:10
Methodmain
()
src/dock_state/surface_index.rs:16
Methodmap_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
← previousnext →201–300 of 366, ranked by callers