Expand description
Built-in widgets: button, text input, tabs, tree view, node graph, etc. Built-in widgets for the Azul GUI system
Modules§
- button
- Button widget
Button widget with Bootstrap-inspired type-based styling (
ButtonType) and platform-adaptive native appearance (Windows, Linux/GTK, macOS). - camera
- Camera-preview widget (P6) — a “dumb widget” owning a background capture
thread + a GL-texture ImageRef; no camera logic in core. Same RefAny-
dataset + merge-callback design as the map widget. See
camera.rs. Camera-preview widget - a “dumb widget” (likeMapWidget) that owns a background capture thread + a GL-textureImageRef, with no camera-specific logic in the core framework (SUPER_PLAN_2 §4 P6, widget pivot - see the MASTER PLAN inMOBILE_SESSION_LOG.md). - capture_
common - Shared core for the video-ish widgets (camera/screencap/video): the
VideoFrametype + the GL-texturepresent_framewriteback. Seecapture_common.rs. Shared core for the “video-ish” widgets (camera / screencap / video). - check_
box - Checkbox widget Checkbox widget with toggle callback support and default native-like styling.
- color_
input - Box displaying a color which opens a color picker dialog on being clicked Rectangular input that displays a color and invokes a callback when clicked
- drop_
down - Drop-down select widget Native drop-down / select widget.
- file_
input - File input widget
File input button, same as
Button, but triggers a user-supplied path-change callback when clicked - frame
- Frame container widget
Frame widget — a titled border container similar to an HTML
<fieldset>or a Windows group box. Renders a header with a centered title flanked by horizontal border lines, and a bordered content area below. - label
- Label widget (centered text) Label widget for displaying static text with platform-specific default styling.
- list_
view - List view widget Native list view widget with column headers, row selection, and sorting indicators.
- map
- Map widget — MVT tile + MapCSS → SVG → DOM (AzulMaps goal app, P3).
Cache lives in a dataset RefAny owned by a merge callback so it
survives relayout. See
layout/src/widgets/map.rsfor the design. AzulMaps map widget. The P3 goal-app’s central primitive. - microphone
- Microphone-capture widget (P7) — same “dumb widget” architecture as the
capture widgets, audio instead of video (no GL): a background thread feeds
each
AudioFrameto the user’son_framehook. Seemicrophone.rs. Microphone-capture widget (SUPER_PLAN_2 §4 P7) - a “dumb widget” with the same architecture as the camera/screencap/video widgets, only the medium is audio (no GL texture). - node_
graph - Node graph widget Interactive node graph editor widget.
- number_
input - Same as text input, but only allows numeric input
Numeric input widget that wraps
TextInputwith numeric validation. - progressbar
- Progress bar widget
Native progress bar widget with customizable backgrounds, height, and
gradient styling. The main type is [
ProgressBar], which is rendered into a DOM via [ProgressBar::dom()]. - ribbon
- Ribbon widget Microsoft Office-style ribbon widget.
- screencap
- Screen-capture widget (P6) — identical “dumb widget” architecture to the
camera widget, capturing a display/window instead. See
screencap.rs. Screen-capture widget — a “dumb widget” identical in architecture to theCameraWidget, only the source differs (a display / window). SUPER_PLAN_2 §4 P6, widget pivot. - tabs
- Tab container widgets
Native-styled tab widget consisting of a [
TabHeader] (the clickable tab bar) and [TabContent] (the panel shown for the active tab). Styling emulates the Windows-native tab control appearance via inline CSS constants. - text_
input - Single line text input widget Single-line text input widget with cursor, placeholder, and two-way data binding.
- titlebar
- Titlebar widget for custom window chrome Titlebar widget for custom window chrome (CSD and title-only modes).
- tree_
view - Tree view widget Tree view widget with expandable/collapsible nodes.
- video
- Video-playback widget (P6) — same “dumb widget” architecture, decoding a
video source (vk-video) into a GL texture. See
video.rs. Video-playback widget — a “dumb widget” identical in architecture to theCameraWidget/ScreenCaptureWidget, only the source differs (a video URL/file decoded via vk-video). SUPER_PLAN_2 §4 P6, widget pivot.