Skip to content

UI & Controls

This section documents the viewer's user-interface surface: the declarative control views (SliderView, ButtonView, TableView, …), the layout model (SplitView/StackView/SceneView), overlays and menus, dialogs and banners, theming, and the read-only display views.

Topics

Guide What you will learn
Controls The control kinds (SliderView, DropdownView, ButtonView, TableView, …) and their handler payloads
Control Views (xxxView) The declarative xxxView layout/control classes and their constructor signatures
Layouts — Split Views & Controls SplitView/SceneView/GroupView panes and control views inside a VisualizerApp
Split Views The view hierarchy, Size units, splitters, overlays, per-pane cameras
Runtime Updates Update a layout, background image, or image view at runtime without rebuilding the UI
Menus MenuView — dropdown vs bar, nested sub-menus, global vs per-pane
Dialogs show_dialog, the Dialog parameters, FileChooserDialog
Display Views LabelView / MarkdownView / LogView read-only content views
Banners alert / confirm / show_banner, alignment, modal banners
File Chooser FileChooserView, the backend-driven browser, FileChooserDialog
Themes set_theme() runtime switching, list_themes(), themed exports
Custom Themes copy_theme/register_theme, tokens + overrides, auto-reload