API map
Everything below is re-exported by egui_workbench unless a module path is shown. The crate root keeps the original function API; components adds builders.
Application runtime — egui_workbench::app
| Item | Kind | Page |
|---|---|---|
ThemeState | struct | Themes |
Documents<T>, Document | struct, trait | Documents |
CommandRegistry | struct | Commands |
History<S> | struct | History and sessions |
Layout, LayoutNode, EditorGroup, LayoutTab, LayoutAction | layout | Workspace layouts |
LinkHub, LinkMode, LinkSelection | selection bus | Linked views |
MinMaxPyramid, StreamingSeries, Trigger | data engine | Plot engine |
Renderer, set_output_format | GPU | Plot engine |
histogram, box_plot, hexbin, contour, polar, smith | families | Analysis |
find_peaks, savgol, spectrum, fit_model, Statistics | analysis | Analysis |
PlotAnnotation, Colormap, ExportPreset, to_unicode_math | publication | Analysis |
HostSpec, Host, Patch, Message, CustomWidget | host | Host |
Python Workbench, Command, Context, widgets | python | Python |
WebWorkbench, createWorkbench, connectRemote, RemoteServer, wb_host_* | web | Web and remote |
McpServer, Permissions, Automation, AccessNode, show_agent_panel, DevToolsState | agent | Agents and DevTools |
ExtensionManager, ExtensionManifest, Capability, show_extension_manager | extensions | Extensions |
ThemeStudioState, LocalizationState, Localizer, FontLibrary | global | Theme Studio and global |
DatasetPlot, PlotGrid, ViewHistory | linked plots | Linked views |
Dataset, Column, DataSource, Query, DataGrid | data | Data fabric |
ViewerRegistry, ViewerFile, ViewerKind | viewer | Data fabric |
ActivityBar, ActivityBarItem | builder | Workspace layouts |
CommandJournal, Macro, MacroLibrary | struct | History and sessions |
Workspace, Stash, HotExit, Recovery | struct | History and sessions |
DevToolsState, show_devtools | struct/fn | History and sessions |
Command, CommandId, When, WhenContext, KeyChord, KeySequence, Keybindings | metadata | Commands |
Keymap<C> | struct (legacy) | Commands |
CloseGuard | struct | Documents |
WorkbenchApp, show_workbench | trait, function | Workbench layout |
TITLE_BAR_PANEL, SIDEBAR_PANEL, RIGHT_PANEL, TAB_STRIP_PANEL, STATUS_BAR_PANEL, BOTTOM_PANEL | &str ids | Workbench layout |
SIDEBAR_MIN_WIDTH, CONTENT_MIN_WIDTH, RIGHT_PANEL_MIN_WIDTH, BOTTOM_PANEL_MIN_HEIGHT | f32 | Workbench layout |
Theme — egui_workbench::theme and root
| Item | Kind |
|---|---|
Theme, ThemeId, ThemeMode | struct, enum, enum |
apply, apply_id, apply_theme, apply_tokens | functions |
current, effective_id, system_is_dark, motion_enabled, set_reduced_motion | functions |
ANIMATION_TIME | f32 |
mix, relative_luminance, readable_on, contrast_ratio | functions |
Theme methods: light, dark, for_id, is_dark, with_accent, accessibility_issues, border_stroke, and the deprecated radius (use style::get(ctx).control()).
Style — egui_workbench::style
| Item | Kind |
|---|---|
WorkbenchStyle | struct |
Density | enum |
get(ctx), set(ctx, style) | functions |
TYPE_SCALE | [(TextStyle, f32); 5] |
WorkbenchStyle fields: density, control_radius, item_radius, inner_radius, container_radius, dialog_radius, pill_radius, border_width, text_scale. Methods: sharp, rounded, with_density, scaled, control_height, size_height, size_padding, menu_row_height, list_row_height, tree_row_height, control, item, inner, tight, mark, container, dialog, pill, border, text_scale, font_size, font, mono, text.
Density: Compact, Default, Comfortable; factor, ALL, as_setting, from_setting.
Metrics — egui_workbench::metrics
ICON_SMALL, ICON_MEDIUM, ICON_LARGE, TITLE_HEIGHT, TAB_HEIGHT, TAB_STRIP_PADDING, STATUS_HEIGHT, TREE_ROW_HEIGHT, TREE_INDENT, CHEVRON_SIZE, SIDEBAR_WIDTH, ACTION_BUTTON, TOOL_BUTTON, SMALL_BUTTON, WINDOW_BUTTON_WIDTH, WINDOW_BUTTON_HEIGHT, CONTROL_HEIGHT, MENU_ROW_HEIGHT, LIST_ROW_HEIGHT, RESIZE_EDGE.
Window — root
handle_window_edges, apply_window_action, is_maximized, set_window_title, WindowAction. native_options and native_options_sized are native-only (#[cfg(not(target_arch = "wasm32"))]); wasm uses eframe::WebRunner and eframe::WebOptions (see Live demo).
Title bar — root
show_title_bar, TitleBar, TitleBarOutput, WindowLabels, Pill, title_menu.
Buttons — root
action_button, IconState, tool_button, tool_button_response, menu_tool_button, small_button, segmented, Segment, close_glyph.
Controls — root
text_field, primary_button, secondary_button, numeric_stepper, switch, combo, compact_menu, menu_item, menu_button, menu_toggle.
Tabs, tree, status — root
| Area | Items |
|---|---|
| Tabs | show_tab_strip, TabItem, TabIcon, TabEvent |
| Tree | section_header, show_tree, TreeNode, TreeState, TreeView, TreeEvent, RowIcon |
| Status | show_status_bar, StatusItem, ellipsize_start, show_empty_state, editor_scroll_style, with_editor_scrollbars |
| Split | split_panes, STACK_BELOW |
Dialogs, settings, palette, keyboard menu — root
| Area | Items |
|---|---|
| Dialogs | dialog_frame, dialog_header, dialog_footer, show_name_prompt, NamePrompt, show_confirm_prompt, ConfirmPrompt, PromptAction, show_choice_window, show_progress, banner, popover_frame, show_popover |
| Settings | show_settings_dialog, SettingsDialog, settings_section, settings_row, settings_switch |
| Palette | show_palette, fuzzy_filter, PaletteItem<T>, PaletteState, PaletteLabels, PaletteMode, PaletteFeed<T> |
| Commands | CommandRegistry, Command, CommandId, When, WhenContext, KeyChord, KeySequence, Keybindings, KeybindingsEditorState, show_keybindings_editor, command_menu_groups, show_command_menu, command_palette_items, show_command_palette |
| Keyboard menu | show_keyboard_menu, open_from_keyboard, KeyboardMenuState, MenuGroup<T>, MenuEntry<T> |
Icons — root
| Item | Kind |
|---|---|
Icons | struct |
MaterialIcons | struct (feature material-icons) |
FULL_UV | Rect |
Icons: new, bundled, register, lucide_names, lucide_search, texture, texture_sized, paint, put, show, show_tinted, and the material field. MaterialIcons: file_icon, folder_icon, texture, texture_sized, draw.
Charts — egui_workbench::components::plot
Plot, PlotState, PlotConfig, Series, ChartMode, PlotHover, PlotResponse, ExportFormat, ExportOptions, Fit, FitKind, LineStyle, Marker, Smoothing, YAxis, Bounds, Scale, points_in. New families: Series::{pie, candles, heatmap, radar, gauge, waterfall} with PieConfig, RadarConfig, GaugeConfig, HeatmapConfig, and WaterfallConfig. Hover animation: LegendAnimation (13 effects), AnimationEasing, LegendHoverConfig, DirectionArrowConfig. 3D: Plot3D, Plot3DState, Plot3DConfig, Series3D, Surface, Camera3D, Projection, Bounds3D, Plot3DHover, Plot3DResponse, Series3DStyle, Surface3DConfig, Plot3DTool; constructors Series3D::{line, scatter, bars, surface, surface_fn}.
File viewer — egui_workbench::components::viewer
FileViewer, FileFormat, Document, Workbook, Sheet, Table, Cell, CellKind, TextFile, ViewerError. Open with FileViewer::{open, from_bytes, text}; paint with viewer.show(ui).
Components — egui_workbench::components
| Item | Kind |
|---|---|
Button, IconButton, CloseButton | builders |
TextField, TextArea, Switch, Checkbox, Select<T>, Stepper, SegmentedControl | builders |
Label, Badge, Banner, Card, Separator, Popover, StatusBar, NavTab | builders |
Menu, MenuButton, MenuItem, MenuToggle, MenuIconButton | builders |
TabStrip, Tree, CommandPalette | builders |
Dialog, ConfirmDialog, NameDialog, ProgressDialog | builders |
IconGrid, IconPreview, IconSize, IconLayout | builders/enums |
Toasts, Toast, ToastKind, ToastPosition, ToastId, ToastEvent | toasts |
Size, ButtonVariant, IconButtonSize, Tone, Orientation | shared values |
Component, IconComponent | traits |
prelude | the common imports |
blocks | composite re-exports |
plot | see below |
components::prelude exports: Badge, Banner, Button, ButtonVariant, Card, Checkbox, CloseButton, CommandPalette, Component, ConfirmDialog, Dialog, IconButton, IconButtonSize, IconComponent, IconGrid, IconLayout, IconPreview, IconSize, Label, Menu, MenuButton, MenuIconButton, MenuItem, MenuToggle, NameDialog, NavTab, Orientation, PaletteItem, PaletteLabels, PaletteState, Popover, ProgressDialog, PromptAction, RowIcon, SegmentedControl, Select, Separator, Size, StatusBar, Stepper, Switch, TabEvent, TabIcon, TabItem, TabStrip, TextArea, TextField, Toast, ToastEvent, ToastKind, ToastPosition, Toasts, Tone, Tree, TreeEvent, TreeNode, TreeState.
Charts — egui_workbench::components::plot
| Item | Kind |
|---|---|
Plot, Plot3D | builders |
PlotState, PlotTool, PlotHover, PlotResponse, LegendPosition, PlotMeasurement, MeasurementConfig, FilterKind, TransformKind | state/response |
Plot3DState, Plot3DTool, Plot3DHover, Plot3DResponse, Camera3D, Projection, Bounds3D | 3D state/camera |
Series, Marker, LineStyle, points_in | data |
Series3D, Surface | 3D data |
Fit, FitKind | analysis |
Bounds, Scale | axes |
AxisConfig, Minor, PlotColors, PlotConfig, SeriesStyle | configuration |
Plot3DConfig, Series3DStyle, Surface3DConfig | 3D configuration |
ExportOptions, ExportFormat | export |
Plot methods: new, config, current_config, series_names, x_limits, y_limits, settings_button, export_button, series, fit, title, x_label, y_label, x_scale, y_scale, width, height, legend, grid, toolbar, x_window, include, show, to_svg, to_png.
Root re-exports
pub use eframe;
pub use egui;
pub use theme::{Theme, ThemeId, ThemeMode};
pub use foundation::{metrics, style, theme};
pub use foundation::icons::{FULL_UV, Icons};
#[cfg(feature = "material-icons")]
pub use foundation::material::MaterialIcons;The crate has no dependency on your Command type. PaletteItem<T>, MenuGroup<T>, TreeNode<K>, CommandRegistry (by id), and Documents<T> are generic over it.