MCPcopy Create free account

hub / github.com/anhosh/egui_dock / functions

Functions366 in github.com/anhosh/egui_dock

↓ 21 callersFunctionmain
()
examples/hello.rs:52
↓ 20 callersMethodright
(self)
src/dock_state/tree/node_index.rs:43
↓ 17 callersMethoditer
(&self)
src/dock_state/tree/mod.rs:213
↓ 17 callersMethodmain_surface_mut
Get a mutable borrow to the tree at the main surface.
src/dock_state/mod.rs:134
↓ 17 callersMethodstyle
(mut self, style: Style)
src/widgets/dock_area/mod.rs:87
↓ 16 callersMethodleft
(self)
src/dock_state/tree/node_index.rs:37
↓ 16 callersMethodlen
(&self)
src/dock_state/tree/mod.rs:199
↓ 15 callersMethodnode_path
Get the node path components.
src/dock_state/tree/tab_index.rs:34
↓ 13 callersMethodis_collapsed
Returns whether the [`Tree`] is collapsed.
src/dock_state/tree/mod.rs:853
↓ 13 callersMethodis_empty
Is this surface [`Empty`](Self::Empty) (in practice null)?
src/dock_state/surface.rs:44
↓ 13 callersMethoditer_mut
(&mut self)
src/dock_state/tree/mod.rs:221
↓ 12 callersMethodis_empty
(&self)
src/dock_state/tree/mod.rs:205
↓ 12 callersMethodis_main
(self)
src/dock_state/surface_index.rs:22
↓ 12 callersMethodsplit_below
( &mut self, parent: NodeIndex, fraction: f32, tabs: Vec<Tab>, )
src/dock_state/tree/mod.rs:380
↓ 9 callersMethodcollapsed_leaf_count
Returns the number of collapsed layers of leaf subnodes in the [`Tree`].
src/dock_state/tree/mod.rs:863
↓ 8 callersMethodget_leaf_mut
Get mutable access to the leaf data of this node, if it contains any (i.e is a leaf)
src/dock_state/tree/node/mod.rs:43
↓ 8 callersMethodparent
(self)
src/dock_state/tree/node_index.rs:49
↓ 8 callersMethodrect
Get the [`Rect`] which this window occupies. If this window hasn't been shown before, this will be [`Rect::NOTHING`].
src/dock_state/window_state.rs:66
↓ 8 callersMethodtabs_count
(&self)
src/dock_state/tree/node/mod.rs:332
↓ 7 callersMethodget_window_state_mut
Get the [`WindowState`] which corresponds to a [`SurfaceIndex`]. Returns `None` if the surface is [`Empty`](Surface::Empty), [`Main`](Surface::Main),
src/dock_state/mod.rs:156
↓ 7 callersMethodis_leaf
(&self)
src/dock_state/tree/node/mod.rs:88
↓ 7 callersMethodremove_tab
Removes a tab at the specified `path`. This method will yield the removed tab, or `None` if it doesn't exist.
src/dock_state/mod.rs:380
↓ 7 callersMethodshow_inside
Shows the docking hierarchy inside a [`Ui`].
src/widgets/dock_area/show/mod.rs:23
↓ 6 callersMethodis_closeable
Returns `true` if the user of your app should be able to close a given `_tab`. By default, `true` is always returned.
src/widgets/tab_viewer.rs:42
↓ 6 callersMethodleaf_mut
Mutably 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/mod.rs:281
↓ 6 callersFunctionmap_to_pixel
(point: f32, ppi: f32, map: fn(f32) -> f32)
src/utils.rs:23
↓ 6 callersMethodpush_to_focused_leaf
Pushes `tab` to the currently focused leaf. If no leaf is focused it will be pushed to the first available leaf. If no leaf is available then a new
src/dock_state/mod.rs:468
↓ 6 callersMethodset_collapsed_leaf_count
Sets the number of collapsed layers of leaf subnodes in the [`Tree`].
src/dock_state/tree/mod.rs:858
↓ 5 callersMethodbreadth_first_index_iter
(&self)
src/dock_state/tree/mod.rs:227
↓ 5 callersFunctionfade_widget_visuals
(visuals: &mut WidgetVisuals, factor: f32)
src/utils.rs:116
↓ 5 callersMethodis_parent
(&self)
src/dock_state/tree/node/mod.rs:107
↓ 5 callersMethodleft_node
Returns the path to the node to the left of the current one.
src/dock_state/tree/node_index.rs:123
↓ 5 callersMethodnode_tree
Get access to the node tree of this surface.
src/dock_state/surface.rs:49
↓ 5 callersFunctionrect_set_size_centered
(rect: &mut Rect, size: Vec2)
src/utils.rs:27
↓ 5 callersMethodremove_surface
Remove a surface based on its [`SurfaceIndex`] Returns the removed surface or `None` if it didn't exist. Panics if you try to remove the main surfac
src/dock_state/mod.rs:216
↓ 5 callersMethodright_node
Returns the path to the node to the right of the current one.
src/dock_state/tree/node_index.rs:131
↓ 5 callersMethodroot_node
Acquire a immutable borrow to the [`Node`] at the root of the tree. Returns [`None`] if the tree is empty. # Examples ```rust # use egui_dock::DockS
src/dock_state/tree/mod.rs:275
↓ 5 callersMethodset_collapsed
Sets the collapsing state of the [`Tree`].
src/dock_state/tree/mod.rs:848
↓ 5 callersMethodset_rect
(&mut self, new_rect: Rect)
src/dock_state/tree/node/mod.rs:60
↓ 5 callersMethodsplit
Creates two new nodes by splitting a given `parent` node and assigns them as its children. The first (old) node inherits content of the `parent` from
src/dock_state/tree/mod.rs:476
↓ 5 callersMethodsplit_left
( &mut self, parent: NodeIndex, fraction: f32, tabs: Vec<Tab>, )
src/dock_state/tree/mod.rs:405
↓ 4 callersMethodchildren_at
(self, level: usize)
src/dock_state/tree/node_index.rs:76
↓ 4 callersMethodcontext_menu
Content inside the context menu shown when the tab is right-clicked. `_path` specifies which [`Surface`](crate::Surface) and [`Node`](crate::Node) th
src/widgets/tab_viewer.rs:20
↓ 4 callersFunctionfade_tab_interaction_style
(style: &mut TabInteractionStyle, factor: f32)
src/utils.rs:81
↓ 4 callersMethodfind_tab
Find the given tab. Returns in which node and where in that node the tab is. The returned [`NodeIndex`] will always point to a [`Node::Leaf`]. In c
src/dock_state/mod.rs:733
↓ 4 callersMethodid
(mut self, id: Id)
src/widgets/dock_area/mod.rs:80
↓ 4 callersFunctionlerp_vec
(split: Split, alpha: f32)
src/widgets/dock_area/drag_and_drop.rs:419
↓ 4 callersFunctionmake_overlay_painter
(ui: &Ui)
src/widgets/dock_area/drag_and_drop.rs:72
↓ 4 callersMethodnode_tree_mut
Get mutable access to the node tree of this surface.
src/dock_state/surface.rs:58
↓ 4 callersMethodpush_to_first_leaf
Pushes a tab to the first `Leaf` it finds or create a new leaf if an `Empty` node is encountered.
src/dock_state/tree/mod.rs:691
↓ 4 callersMethodsurface_address
(&self)
src/widgets/dock_area/drag_and_drop.rs:59
↓ 4 callersMethodtabs
(&self)
src/dock_state/tree/mod.rs:233
↓ 4 callersMethodtitle
(&mut self, tab: &mut Self::Tab)
examples/hello.rs:93
↓ 3 callersMethodallowed_in_windows
Specifies a tab's ability to be shown in a window. Returns `false` if this tab should never be turned into a window.
src/widgets/tab_viewer.rs:93
↓ 3 callersFunctioncorner_radius_ui
(ui: &mut Ui, corner_radius: &mut CornerRadius)
examples/hello.rs:623
↓ 3 callersMethodget_leaf
Get immutable access to the leaf data of this node, if it contains any (i.e is a leaf)
src/dock_state/tree/node/mod.rs:35
↓ 3 callersMethodis_horizontal
(&self)
src/dock_state/tree/node/mod.rs:94
↓ 3 callersMethodis_locked
(&self, style: &Style, ctx: &Context)
src/widgets/dock_area/drag_and_drop.rs:398
↓ 3 callersMethoditer_tabs_mut
(&mut self)
src/dock_state/tree/node/mod.rs:234
↓ 3 callersMethodlen
Get the length of tab list in this [`LeafNode`].
src/dock_state/tree/node/leaf.rs:64
↓ 3 callersMethodlevel
(self)
src/dock_state/tree/node_index.rs:59
↓ 3 callersMethodpush_to_focused_leaf
Pushes `tab` to the currently focused leaf. If no leaf is focused it will be pushed to the first available leaf. If no leaf is available then a new
src/dock_state/tree/mod.rs:732
↓ 3 callersMethodremove_leaf
Removes a leaf at the specified `path`.
src/dock_state/mod.rs:389
↓ 3 callersMethodset_focused_node_and_surface
(&mut self, path: NodePath)
src/dock_state/mod.rs:289
↓ 3 callersMethodshow_add_buttons
Shows or hides the tab add buttons. By default it's `false`.
src/widgets/dock_area/mod.rs:101
↓ 3 callersMethodtab_style_override
Sets custom style for given tab.
src/widgets/tab_viewer.rs:86
↓ 3 callersMethodtabs_mut
(&mut self)
src/dock_state/tree/node/mod.rs:205
↓ 3 callersMethodtoggle_minimized
(&mut self)
src/dock_state/window_state.rs:107
↓ 3 callersMethodupdate_lock
(&mut self, target_state: LockState, style: &Style, ctx: &Context)
src/widgets/dock_area/drag_and_drop.rs:374
↓ 3 callersMethodwindow_toggle_minimized
(&mut self, surf_index: SurfaceIndex)
src/widgets/dock_area/show/window_surface.rs:255
↓ 2 callersMethodadd_window
Adds a window with its own list of tabs. Returns the [`SurfaceIndex`] of the new window, which will remain constant through the windows lifetime.
src/dock_state/mod.rs:420
↓ 2 callersMethodappend_tab
(&mut self, tab: Tab)
src/dock_state/tree/node/mod.rs:268
↓ 2 callersMethodbalance
(&mut self, emptied_nodes: HashSet<NodeIndex>)
src/dock_state/tree/mod.rs:867
↓ 2 callersFunctionbutton_ui
Draws one of the Tab drop destination icons inside `rect`, which one you get is specified by `is_top_bottom`.
src/widgets/dock_area/drag_and_drop.rs:90
↓ 2 callersMethodcollapsed_leaf_count
Returns the number of layers of collapsed leaf subnodes.
src/dock_state/tree/node/mod.rs:122
↓ 2 callersFunctionconstrain_rect_to_area
An adapted version of the [`egui::Area`]s code for restricting an area rect to a bound.
src/widgets/dock_area/drag_and_drop.rs:450
↓ 2 callersMethoddetach_tab
Takes a tab out of its current surface and puts it in a new window. Returns the surface index of the new window.
src/dock_state/mod.rs:344
↓ 2 callersFunctiondraw_drop_rect
(rect: Rect, ui: &Ui, style: &Style)
src/widgets/dock_area/drag_and_drop.rs:429
↓ 2 callersFunctiondraw_highlight_rect
(rect: Rect, ui: &Ui, style: &Style)
src/widgets/dock_area/drag_and_drop.rs:78
↓ 2 callersFunctiondraw_window_rect
(rect: Rect, ui: &Ui, style: &Style)
src/widgets/dock_area/drag_and_drop.rs:436
↓ 2 callersMethodensure_tree
Ensures that the surface at `index` contains a [`Tree`] If the surface is [`Empty`](Surface::Empty), builds a [`Surface::Main`] for the main surface
src/dock_state/mod.rs:453
↓ 2 callersFunctionfade_visuals
Fade a `egui::style::Visuals` to a certain opacity
src/utils.rs:93
↓ 2 callersMethodfilter_map_tabs
Returns a new [`DockState`] while mapping and filtering the tab type. Any remaining empty [`Node`]s and [`Surface`]s are removed. ``` # use egui_dock
src/dock_state/mod.rs:619
↓ 2 callersMethodfilter_map_tabs
Returns a new [`Surface`] while mapping and filtering the tab type. Any remaining empty [`Node`]s and are removed, and if this [`Surface`] remains emp
src/dock_state/surface.rs:124
↓ 2 callersMethodfilter_map_tabs
Returns a new [`Tree`] while mapping and filtering the tab type. Any remaining empty [`Node`]s are removed.
src/dock_state/tree/mod.rs:781
↓ 2 callersMethodfilter_map_tabs
Returns a new [`Node`] while mapping and filtering the tab type. If this [`Node`] remains empty, it will change to [`Node::Empty`].
src/dock_state/tree/node/mod.rs:341
↓ 2 callersMethodfind_tab
Find the given tab. Returns in which node and where in that node the tab is. The returned [`NodeIndex`] will always point to a [`Node::Leaf`]. In c
src/dock_state/tree/mod.rs:974
↓ 2 callersMethodfocused_leaf
(&self)
src/dock_state/mod.rs:370
↓ 2 callersMethodget_window_state
Get the [`WindowState`] which corresponds to a [`SurfaceIndex`]. Returns `None` if the surface is an [`Empty`](Surface::Empty), [`Main`](Surface::Mai
src/dock_state/mod.rs:166
↓ 2 callersMethodis_collapsed
(&self)
src/dock_state/tree/node/mod.rs:113
↓ 2 callersMethodis_empty
(&self)
src/dock_state/tree/node/mod.rs:82
↓ 2 callersMethodis_left
(self)
src/dock_state/tree/node_index.rs:65
↓ 2 callersMethodis_minimized
(&self)
src/dock_state/window_state.rs:112
↓ 2 callersMethodis_on_secondary_button
( &self, surface_index: SurfaceIndex, ui: &mut Ui, response: &Response, )
src/widgets/dock_area/show/leaf.rs:811
↓ 2 callersMethodis_top_bottom
Returns whether the split is vertical.
src/dock_state/tree/mod.rs:55
↓ 2 callersMethodis_vertical
(&self)
src/dock_state/tree/node/mod.rs:100
↓ 2 callersMethoditer_nodes_indexed
Returns an [`Iterator`] of nodes in this surface's tree with their corresponding [`NodeIndex`].
src/dock_state/surface.rs:78
↓ 2 callersMethoditer_nodes_mut_indexed
Returns a mutable [`Iterator`] of nodes in this surface's tree with their corresponding [`NodeIndex`].
src/dock_state/surface.rs:96
↓ 2 callersMethoditer_surfaces_indexed
Returns an [`Iterator`] over all surfaces with their corresponding [`SurfaceIndex`].
src/dock_state/mod.rs:491
↓ 2 callersMethoditer_surfaces_mut_indexed
Returns a mutable [`Iterator`] over all surfaces with their corresponding [`SurfaceIndex`].
src/dock_state/mod.rs:504
next →1–100 of 366, ranked by callers