Skip to main content

Crate quickgui

Crate quickgui 

Source
Expand description

QuickGUI is a small, damage-driven foundation for native desktop interfaces.

It deliberately keeps the hot path narrow: application state is retained, windows sleep while clean, long lists are virtualized, rectangles are instanced in one draw call, and shaped text is cached by stable TextIds.

Macros§

actions
Declare payload-free action types with GPUI-compatible call-site ergonomics.

Structs§

AboutPanelOptions
Metadata shown by the operating system’s standard About UI.
Accelerator
Electron-compatible accelerator syntax parsed into QuickGUI’s native Keystroke.
AccessibilityValueRange
Numeric range projected by slider, spin-button, progress, meter, and splitter roles.
Accordion
A copyable declaration for an unstyled accordion root.
AccordionItem
A copyable declaration for one controlled, unstyled accordion item.
AccordionItemState
Caller-visible state shared by one accordion item’s unstyled parts.
AccordionState
Bounded application-owned open-value state for an unstyled accordion.
ActionListener
An opaque typed binding returned by crate::ViewContext::action_listener.
AnchorPlacementHandle
An application-owned receiver for the placement QuickGUI resolved for one anchored element.
AnimatedImage
AnimatedImageFrame
Animation
A duration-based animation that can be applied declaratively to an element.
AnimationPhase
Potentially overshooting coordinate within an animation.
AnyAction
A cheaply cloned, type-erased action used by keymaps and deferred dispatch.
AppInfo
Immutable package identity supplied by the application at startup.
AppPaths
Immutable snapshot of standard process, application, and user directories.
AppRunner
A QuickGUI application whose native event loop is advanced by an external runtime.
AppRunnerWaker
Thread-safe wake handle for an externally pumped AppRunner.
Application
Configures and starts a native application independently from its windows.
ApplicationsFolderSupport
Whether the running process can relocate itself into /Applications.
AssetBytes
Immutable, cheaply cloned bytes returned by an AssetSource.
Assets
Cloneable identity for one application asset source.
AsyncViewContext
Owned, fallible access to one task’s view across await points.
AsyncViewUpdate
Future returned by AsyncViewContext::update.
AutoStart
A reusable configuration for the user’s native login-launch facility.
AutoStartOptions
AutocompleteListState
State supplied to the caller-owned suggestion-surface renderer.
AutocompleteOptionState
State supplied to one caller-owned suggestion renderer.
AutocompletePopoverLayout
Structural geometry for the separate native suggestion surface.
AutocompleteState
Controlled, free-form autocomplete state with an overflow-capable native suggestion panel.
Autocorrection
One applied autocorrection, retained so an application can offer “Change back”.
Avatar
A copyable declaration for one controlled, unstyled avatar.
AvatarState
Controlled, allocation-free load state for one avatar.
BackgroundImage
A raster background painted behind an element’s children and inside its rounded corners.
BackgroundPosition
Where a background tile is anchored, as a fraction of the free space in the element box.
BatteryState
A bounded aggregate battery snapshot.
BoxShadow
A CSS-like shadow attached to an element’s rounded border box.
BundledAssets
Bounded in-memory implementation of AssetSource for include_bytes! resources.
Calendar
A copyable declaration for one unstyled month grid.
CalendarNextDay
Move the roving day focus one day later.
CalendarNextMonth
Show the next month.
CalendarNextWeek
Move the roving day focus one week later.
CalendarNextYear
Show the same month one year later.
CalendarPreviousDay
Move the roving day focus one day earlier.
CalendarPreviousMonth
Show the previous month.
CalendarPreviousWeek
Move the roving day focus one week earlier.
CalendarPreviousYear
Show the same month one year earlier.
CalendarSelect
Select the focused day.
CalendarState
Controlled month-grid state with roving day focus.
CalendarWeekEnd
Move the roving day focus to the last day of its week row.
CalendarWeekStart
Move the roving day focus to the first day of its week row.
Canvas
Immediate paint access scoped to one declarative canvas element.
Checkbox
Copyable declaration for one controlled, unstyled checkbox.
CheckboxGroup
A controlled, unstyled checkbox-group descriptor.
CheckboxGroupState
Controlled, bounded value state for one checkbox group.
CivilDate
A proleptic Gregorian calendar date with no time zone, clock, or locale.
CivilTime
A wall-clock time of day with no date, time zone, or leap seconds.
ClickListener
An opaque click binding returned by ViewContext::listener.
ClipboardBookmark
A native URL bookmark with a user-visible title.
ClipboardData
One bounded arbitrary clipboard representation identified by a MIME type.
ClipboardImage
Immutable encoded image bytes suitable for transfer without eager decoding.
ClipboardItem
A bounded immutable set of clipboard representations.
ClipboardString
UTF-8 clipboard text with optional application metadata.
Collapsible
A controlled, unstyled disclosure descriptor.
CollapsibleState
Caller-owned state projected across one unstyled collapsible’s parts.
Color
A premultiplication-neutral, linear-light RGBA color.
ColorMatrix
A 4x5 color matrix applied to straight-alpha, encoded-sRGB color.
ColorStops
A bounded, ordered list of gradient color stops.
ComboboxConfirm
Open a closed control or commit its active option.
ComboboxFirst
Move to the first enabled select option.
ComboboxItemPartState
A copyable render-state snapshot for one unstyled combobox row.
ComboboxLast
Move to the final enabled select option.
ComboboxListState
State supplied to the caller-owned suggestion-surface renderer.
ComboboxNext
Move to the next enabled suggestion.
ComboboxOptionState
State supplied to one caller-owned constrained option renderer.
ComboboxPageDown
Move one visible suggestion page downward.
ComboboxPageUp
Move one visible suggestion page upward.
ComboboxPartState
A copyable render-state snapshot for one unstyled combobox.
ComboboxPrevious
Move to the previous enabled suggestion.
ComboboxState
Controlled, editable, single-value combobox constrained to declared items.
ContextMenuEvent
Web-style contextmenu event delivered on secondary-button press.
ContextMenuLayout
Structural geometry for an unstyled cursor-point context menu.
ContextMenuListener
An opaque secondary-click binding returned by ViewContext::context_menu_listener.
ContextMenuState
Application-owned lifecycle state for an unstyled cursor-point context menu.
ContextPredicate
A boolean predicate evaluated against the root-to-focus key-context stack.
Corners
Per-corner radii ordered top-left, top-right, bottom-right, bottom-left.
CpuUsage
One CPU-usage reading produced by CpuUsageSampler::sample.
CpuUsageSampler
Stateful sampler that converts cumulative CPU time into a per-interval percentage.
CrashLocation
Source position recorded for a panic report.
CrashReport
One bounded crash report, as written to and parsed back from disk.
CrashReporter
Cheap cloneable handle to the installed crash reporter.
CrashReporterOptions
Bounded configuration for CrashReporter::install.
CustomShader
Validated, immutable WGSL used by a retained custom GPU primitive.
CustomShaderPrimitive
One retained rectangle painted by validated application WGSL.
DateField
A copyable declaration for one unstyled date field.
DateFieldClearSegment
Clear the focused segment and its pending typed digits.
DateFieldDecrement
Step the focused date or time segment one unit toward its minimum, wrapping at the start.
DateFieldIncrement
Step the focused date or time segment one unit toward its maximum, wrapping at the end.
DateFieldNextSegment
Move editing focus to the next segment in the field’s declared order.
DateFieldPreviousSegment
Move editing focus to the previous segment in the field’s declared order.
DateFieldSegment
A copyable declaration for one date-field segment.
DateFieldSegmentMaximum
Set the focused segment to its largest legal value.
DateFieldSegmentMinimum
Set the focused segment to its smallest legal value.
DateFieldState
Controlled segmented editing state for one date field.
DesktopIntegrationSupport
Compile-time availability of QuickGUI’s renderer-independent desktop integrations.
Dialog
Copyable declaration for one controlled, unstyled in-window dialog.
DialogState
Controlled open state that keeps a dialog mounted for its own transition.
DismissListener
An opaque dismissal binding returned by ViewContext::dismiss_listener.
Display
One immutable display description in global logical desktop coordinates.
DisplayId
Process-level display identity.
DisplayUuid
Stable physical display identity when the platform exposes one.
Displays
A bounded, cheaply cloned snapshot of all active displays.
DockAttentionRequest
Identifier for one in-flight DockAttention request.
Drag
A typed payload and optional GPU preview produced when a drag starts.
DragListener
An opaque typed drag-source binding returned by ViewContext::drag_listener.
DragStartEvent
Input geometry supplied when an internal drag crosses the movement threshold.
Drawer
A copyable declaration for one controlled, unstyled drawer.
DrawerGesture
What one captured drawer gesture changed.
DrawerState
Controlled, allocation-free state for one drawer.
DropEvent
Geometry supplied to a typed drop listener.
DropListener
An opaque typed drop-target binding returned by ViewContext::drop_listener.
DropShadow
A blurred, offset, tinted copy of a subtree’s alpha painted behind it.
DroppedFiles
A bounded, shared collection of paths delivered by a native file drag.
Element
A declarative UI node with Tailwind-like fluent styling.
ElementId
A stable identifier used for hit testing and retained state.
ElementStateStyle
Non-layout overrides for hover, pressed, focus, validation, and drag states.
Entity
Main-thread application state that can be observed by independently retained windows.
EntityId
Stable identity for application state shared by one or more retained views.
EventContext
Commands emitted while a crate::View handles an event.
ExtensionComponent
A retained instance of any registered native component package.
ExternalDragEndEvent
Completion metadata for Event::ExternalDragEnded.
ExternalDragText
Bounded plain text exchanged with a native drag destination.
ExternalDragUrl
A bounded absolute URL exchanged with a native drag destination.
ExternalPaths
A bounded immutable collection of external file-system paths.
Field
Controlled, unstyled labeling and validation composition for one form control.
FieldState
Caller-owned state projected consistently across every unstyled field part.
Fieldset
Controlled, unstyled group semantics for related fields.
FileDialogFilter
One named native file-dialog filter. Extensions omit the leading dot; * matches all files.
FileDragPaths
Files offered to the platform when an internal drag leaves its QuickGUI window.
FillOptions
Filters
A bounded, ordered chain of at most MAX_FILTERS_PER_ELEMENT color filters.
FindBar
Unstyled find-and-replace composition over caller-owned parts.
FindClose
Dismiss the find bar.
FindNext
Move to the next match, wrapping at the end.
FindOptions
Literal matching options.
FindPrevious
Move to the previous match, wrapping at the start.
FindReplace
Replace the current match and advance.
FindReplaceAll
Replace every match as one undoable edit.
FindState
Bounded literal find and replace over one controlled string.
FocusHandle
A stable handle for programmatic and keyboard focus.
Font
Complete inherited font configuration used by crate::Element::font.
FontFallbacks
Ordered named families tried after the primary family and before platform fallbacks.
FontFeature
One explicit OpenType feature value.
FontFeatureTag
A validated four-byte OpenType feature tag.
FontFeatureTagError
Error returned when an OpenType feature tag is not four ASCII alphanumeric bytes.
FontFeatures
Canonical, shared, and hard-bounded OpenType feature configuration.
FontWeight
Specifies the weight of glyphs in the font, their degree of blackness or stroke thickness.
ForegroundTimer
Exact, event-loop-driven timer returned by AsyncViewContext::sleep.
FormField
One controlled text value captured for a valid form submission.
FormInvalidListener
An opaque invalid-form binding returned by ViewContext::form_invalid_listener.
FormSubmitEvent
Data delivered after every enabled control in a form is valid.
FormSubmitListener
An opaque valid-form binding returned by ViewContext::form_submit_listener.
FrameMetrics
Lightweight CPU-side frame telemetry. It is intentionally allocation-free.
GlobalShortcutEvent
One registered system-wide keyboard shortcut was pressed.
Gradient
A bounded multi-stop linear, radial, or conic gradient.
GradientAngle
The angle of a linear or conic gradient, in CSS degrees.
GradientCenter
A gradient center expressed as a fraction of the painted box.
GridTrack
One explicit CSS-grid track used by Element::grid_template_columns and Element::grid_template_rows.
HighlightStyle
A partial text style applied to one UTF-8 byte range in StyledText.
HoverListener
An opaque web-style hover transition binding returned by ViewContext::hover_listener.
IgnoreWord
Ignore one word for the remainder of this input’s checking session.
Image
Immutable, cheap-to-clone RGBA image data.
ImagePrimitive
One sampled image rectangle with normalized source coordinates and a rounded content mask.
ImageResource
A cheap, stable handle to image content loaded away from the UI thread.
ImageResourceStats
InputListener
An opaque text-change binding returned by ViewContext::input_listener.
Insets
Insets ordered as top, right, bottom, left.
KeyBinding
One typed action binding, optionally constrained to the focused context path.
KeyContext
Context values attached to one element in the focused ancestor path.
KeyDownEvent
One normalized key press delivered through the focused element path.
KeyDownListener
An opaque focused key-down binding returned by ViewContext::key_down_listener.
KeyUpEvent
One normalized key release delivered through the focused element path.
KeyUpListener
An opaque focused key-up binding returned by ViewContext::key_up_listener.
KeyboardLayout
An immutable, cheaply cloned snapshot of the active keyboard layout.
Keymap
Ordered application key bindings. Later bindings win at equal context depth.
KeymapError
A parse failure in a keystroke, key context, or context predicate.
KeymapMatch
The enabled bindings for an input prefix, in dispatch precedence order.
Keystroke
A normalized command key plus modifiers and optional text-producing key metadata.
LayerEffects
Everything about an element that forces its subtree through an offscreen group texture.
LayoutBoundsHandle
An application-owned receiver for the window-relative bounds QuickGUI laid out for one element.
LearnWord
Add one word to the user dictionary.
LinearColorStop
LinearGradient
ListOffset
A stable logical position inside a variable-height list.
ListState
Intrusive state for efficiently rendering differently sized list items.
ListStateStats
Retained variable-list metric usage for diagnostics and regression tests.
LookUpSelection
Show the dictionary popover for the selection, or the word at the caret.
Menu
A declarative application menu projected to the platform’s native menu system.
MenuCloseParent
Close the menu level above the surface a dismissal started in.
MenuIcon
A decoded, bounded RGBA image suitable for a native menu item.
MenuItemPartState
A copyable render-state snapshot for one unstyled menu row.
MenuPartState
A copyable render-state snapshot for one unstyled menu surface.
MenuState
Bounded controlled state for one unstyled menu surface built from Base UI’s compound parts.
Menubar
A copyable declaration for one unstyled in-window menubar.
MenubarClose
Close the open menu and keep focus on the menubar.
MenubarFirst
Move menubar focus to the first menu.
MenubarItem
A copyable declaration for one menubar trigger.
MenubarLast
Move menubar focus to the final menu.
MenubarNext
Move menubar focus to the next menu, wrapping at the end.
MenubarOpen
Open the focused menu.
MenubarPrevious
Move menubar focus to the previous menu, wrapping at the start.
MenubarState
Controlled roving-focus and open state for one in-window menubar.
MessageBoxCheckbox
One optional suppression checkbox shown inside a native message box.
MessageBoxOptions
A native message box with an optional checkbox, custom icon, and explicit key buttons.
MessageBoxResponse
The user’s answer to a native message box.
Meter
Static measurement semantics for one unstyled meter.
Misspelling
One flagged UTF-8 byte range inside a checked text input.
Modifiers
MouseDownEvent
A desktop mouse-button press targeted through the retained element tree.
MouseDownListener
An opaque targeted mouse-down binding returned by ViewContext::mouse_down_listener.
MouseExitEvent
Mouse motion delivered when the pointer leaves the native window.
MouseExitListener
An opaque targeted native-window mouse-exit binding.
MouseMoveEvent
Mouse motion targeted through the retained element tree.
MouseMoveListener
An opaque targeted mouse-motion binding returned by ViewContext::mouse_move_listener.
MousePressureEvent
Force-sensitive pointer input, currently produced by macOS Force Touch trackpads.
MousePressureListener
An opaque Force Touch binding returned by ViewContext::mouse_pressure_listener.
MouseUpEvent
A desktop mouse-button release targeted through the retained element tree.
MouseUpListener
An opaque targeted mouse-up binding returned by ViewContext::mouse_up_listener.
NavigationMenu
A controlled, unstyled navigation-menu descriptor.
NavigationMenuClose
Close the open navigation menu without leaving the bar.
NavigationMenuEntry
A copyable declaration for one mounted navigation-menu item.
NavigationMenuFirst
Move navigation-menu focus to the first enabled trigger.
NavigationMenuItem
One caller-declared navigation-menu item.
NavigationMenuLast
Move navigation-menu focus to the last enabled trigger.
NavigationMenuNext
Move navigation-menu focus to the next enabled trigger.
NavigationMenuPrevious
Move navigation-menu focus to the previous enabled trigger.
NavigationMenuState
Controlled, allocation-free state for one navigation menu.
NoSpellCheckProvider
The portable fallback provider. Every service reports TextServiceError::Unsupported.
NumberField
A controlled, unstyled number-field descriptor.
NumberFieldFormat
Locale-shaped parsing and formatting rules for one number field.
NumberFieldPartState
A copyable render-state snapshot for one unstyled number field.
NumberFieldState
Controlled editing text, committed value, and bounded stepping state for one number field.
OpenMenuLink
A typed action dispatched when an unstyled menu link item is activated.
OpenUrls
URLs supplied by the operating system when launching or reopening the application.
OsMenu
A menu populated and managed by the operating system.
OtpField
A controlled, unstyled OTP-field descriptor.
OtpFieldBackspace
Clear the focused slot, or clear the previous one and move back when it is already empty.
OtpFieldDelete
Clear the focused slot without moving.
OtpFieldFirst
Move OTP focus to the first slot.
OtpFieldLast
Move OTP focus to the last slot.
OtpFieldNext
Move OTP focus to the next slot.
OtpFieldPrevious
Move OTP focus to the previous slot.
OtpFieldState
Controlled, allocation-free value state for one OTP field.
Outline
A ring painted outside the border box without participating in layout.
Path
PathBuilder
PathPrimitive
One retained tessellated path with a paint, affine scale/translation, and logical clip.
PathPromptOptions
Options for a native open panel.
PermissionManager
Stateless entry point for permission status and explicit user-prompt requests.
PickerConfirm
Activate the selected picker result.
PickerFilter
PickerFirst
Move the active picker selection to the first selectable result.
PickerItem
A value and its searchable, presentational picker metadata.
PickerLast
Move the active picker selection to the final selectable result.
PickerLayout
Structural geometry retained by one virtualized picker.
PickerMatch
A borrowed ranked picker result.
PickerNext
Move the active picker selection to the next selectable result.
PickerPageDown
Move the active picker selection one visible page downward.
PickerPageUp
Move the active picker selection one visible page upward.
PickerPrevious
Move the active picker selection to the previous selectable result.
PickerState
Retained fuzzy matches, keyboard selection, and virtual-scroll state for a picker.
PinchEvent
A native pinch-to-zoom event targeted at the pointer’s logical window position.
PinchListener
An opaque pinch binding returned by ViewContext::pinch_listener.
PipelineMetrics
Work performed between presented frames. Durations are elapsed time for each phase, while FrameMetrics::cpu_time measures application-thread CPU time across the frame as a whole. Mutation time includes retained updates received before the redraw callback starts.
PlatformResponse
A single-use, main-thread future resolved by a native platform operation.
Point
A point in logical, density-independent pixels.
PointerEvent
A pointer event delivered to an element that owns pointer capture.
PointerListener
An opaque captured-pointer binding returned by ViewContext::pointer_listener.
Popover
A copyable declaration descriptor for one controlled, unstyled popover.
PopoverConstraintAdjustment
Permitted screen-edge corrections for a system popover.
PopoverHoverState
Bounded hover-open state for one controlled popover, Base UI’s Trigger openOnHover.
PopoverMenu
Bounded, zero-idle interaction state for an unstyled popover menu.
PopoverMenuActivate
Activate the highlighted popover-menu item.
PopoverMenuClose
Dismiss the current popover-menu level.
PopoverMenuFirst
Highlight the first enabled popover-menu item.
PopoverMenuItem
One retained, appearance-free entry in a PopoverMenu.
PopoverMenuItemState
Render-state supplied to an application’s unstyled item renderer.
PopoverMenuLast
Highlight the final enabled popover-menu item.
PopoverMenuNext
Highlight the next enabled popover-menu item.
PopoverMenuOpenSubmenu
Open the highlighted submenu without activating an ordinary command.
PopoverMenuPrevious
Highlight the previous enabled popover-menu item.
PopoverOptions
Parent-relative placement and input behavior for a native system popover.
PopoverPartState
A copyable render-state snapshot for one controlled popover.
PowerAssertion
A native, reference-counted request that prevents one class of automatic sleep.
PowerMonitor
Stateless entry point for native power, idle, thermal, and session queries.
PowerState
One immutable power and thermal snapshot.
PreviewCard
A copyable declaration for one controlled, unstyled preview card.
PreviewCardState
Controlled hover/focus state for one preview card.
ProcessMetrics
One immutable snapshot of the current process.
Progress
Determinate or indeterminate task-completion semantics for one unstyled progress indicator.
ProgressPartState
A copyable render-state snapshot for one unstyled progress indicator.
ProtocolRegistration
A dynamic URL-scheme registration for Windows or Linux.
ProtocolRegistrationOptions
Quad
A filled rounded rectangle with an optional inside border and clip.
QuitRequest
Immutable input delivered to the preventable before-quit and will-quit callbacks.
Radio
Copyable declaration for one controlled, unstyled radio button.
RadioGroup
Copyable declaration for one semantic radio group.
Rect
An axis-aligned rectangle in logical pixels.
Redo
Redo the last undone change.
RelaunchOptions
Overrides for an orderly application relaunch.
RelaunchRequest
A complete, immutable process launch retained until orderly application teardown finishes.
RelaunchedProcess
Identity of a successfully spawned replacement process.
RenderStats
Renderer work submitted for the most recently completed frame.
ReplaceWord
Replace one flagged range with a suggestion.
ResolvedAnchorPlacement
Where an anchored element actually landed on the most recently painted frame.
ResolvedWindowRestoreState
Outcome of validating a WindowRestoreState against the current display snapshot.
RotationEvent
A native two-finger rotation event.
RotationListener
An opaque rotation binding returned by ViewContext::rotation_listener.
RouteDefinition
One declarative route in a router-owned tree.
RouteLocation
A normalized internal application location.
RouteMatch
The route and layout ancestry selected for one location.
RouteParameter
One decoded dynamic parameter from the route pattern that won the current match.
RouteQueryPair
One decoded query pair. Repeated names remain separate and preserve source order.
Router
Core-owned, bounded route matching and in-memory navigation history.
RouterSnapshot
Copy-on-read state exposed to renderer bindings after one navigation operation.
SavePathOptions
Options for a native save panel.
Scene
A reusable display list. Scene::clear retains its allocations.
ScrollArea
A controlled, unstyled scroll-area descriptor.
ScrollAreaState
Controlled, allocation-free geometry and interaction state for one scroll area.
ScrollAreaStyleState
The data--like render state one scroll area exposes to the application.
ScrollWheelEvent
A scroll-wheel event delivered through the topmost element’s ancestor path.
ScrollWheelListener
An opaque scroll-wheel binding returned by ViewContext::scroll_wheel_listener.
SecondInstanceEvent
Arguments and working directory forwarded by a later application process.
SecureStorage
Native credential storage: Keychain Services, Windows Credential Manager, or Secret Service.
SelectListState
State supplied to the caller-owned popover-root renderer.
SelectOptionState
State supplied to the caller-owned option renderer.
SelectPartState
A copyable render-state snapshot for one unstyled select.
SelectPopoverLayout
Structural geometry for the separate native popover surface used by SelectState.
SelectPopupParts
Framework-owned popup decorators handed to a select’s surface renderer.
SelectState
Bounded controlled state for an unstyled, non-editable single-value select.
Separator
Copyable declaration for one unstyled semantic separator.
ShaderParameters
Four sanitized vec4<f32> slots passed without per-instance bind groups.
Shadow
A lower-level shadow display-list primitive.
Size
A size in logical pixels.
Slider
A controlled, unstyled slider descriptor.
SliderDecrement
Move the active slider thumb one step toward the minimum.
SliderIncrement
Move the active slider thumb one step toward the maximum.
SliderLargeDecrement
Move the active slider thumb one large step toward the minimum.
SliderLargeIncrement
Move the active slider thumb one large step toward the maximum.
SliderMaximum
Move the active slider thumb to its maximum.
SliderMinimum
Move the active slider thumb to its minimum.
SliderPointerChange
What one captured pointer event did to a slider.
SliderState
Controlled, allocation-free bounded value state for one slider.
SliderThumb
A copyable declaration for one slider thumb.
SliderThumbState
A copyable render-state snapshot for one slider thumb.
SmartMagnifyEvent
A native smart-magnify request, normally a two-finger double tap on macOS.
SmartMagnifyListener
An opaque smart-magnify binding returned by ViewContext::smart_magnify_listener.
SpellDocumentTag
An opaque per-input checking session identity.
SpellingMenuLabels
Application-owned copy for the generated spelling menu.
Splitter
A controlled, unstyled resizable-pane descriptor.
SplitterCollapse
Collapse or restore the pane before the focused splitter handle.
SplitterDecrease
Shrink the pane before the focused splitter handle.
SplitterHandle
A copyable declaration for one splitter handle.
SplitterIncrease
Grow the pane before the focused splitter handle.
SplitterMaximum
Grow the pane before the focused splitter handle to its maximum.
SplitterMinimum
Shrink the pane before the focused splitter handle to its minimum.
SplitterPane
A copyable declaration for one splitter pane.
SplitterState
Controlled, allocation-free pane geometry for one splitter.
SpringAnimation
Stateful spring animation targeting a scalar value or projected phase.
SpringConfig
Physical parameters of a damped harmonic oscillator.
SpringState
Instantaneous spring position and velocity.
StateAccessor
A cloneable accessor from a view to one component instance’s retained state.
StickyInsets
CSS-style sticky offsets, relative to the nearest ancestor scroll container.
StrokeOptions
StyledText
A retained text element with sorted, non-overlapping byte-range styles.
SubmitListener
An opaque single-line submit binding returned by ViewContext::submit_listener.
Subscription
An RAII view subscription that cancels entity-event or global-change delivery when dropped.
Svg
A parsed, immutable SVG document.
SvgPrimitive
One tinted SVG mask with normalized source coordinates and a rounded content mask.
SvgTransform
A render-only transform applied around the center of an SVG element.
Switch
Copyable declaration for one controlled, unstyled switch.
SystemColor
Renderer-independent sRGB system color.
SystemInfo
Bounded immutable operating-system and language snapshot.
SystemMemory
Whole-system physical memory, in bytes.
SystemNotification
A notification posted to the operating system rather than rendered in a QuickGUI window.
SystemNotificationAction
One button exposed by an operating-system notification.
SystemNotificationAttachment
One local file attached to a rich operating-system notification.
SystemNotificationResponse
The user’s activation of an operating-system notification.
SystemPopover
An unstyled parent-owned popover window that may extend beyond its parent window.
SystemPreferences
A point-in-time, renderer-independent system appearance and accessibility snapshot.
Tab
A copyable declaration for one controlled tab and its associated panel.
TabState
Caller-visible state projected across one tab’s unstyled parts.
TableActivate
Activate the current table cell.
TableCancelEdit
Abandon the open inline editor.
TableCellPosition
Zero-based logical position of one table cell.
TableCellState
State supplied to one caller-owned table-cell renderer.
TableColumn
One stable table column declaration.
TableCommitEdit
Commit the open inline editor.
TableEditEnded
Dispatched by the table when an open inline editor closed.
TableExtendSelectionDown
Move down one row and extend the selection from its anchor.
TableExtendSelectionUp
Move up one row and extend the selection from its anchor.
TableFirstRow
Move the active table cell to the first row.
TableHeaderState
State supplied to one caller-owned column-header renderer.
TableLastRow
Move the active table cell to the final row.
TableLayout
Structural geometry retained by one virtualized table.
TableMoveColumnLeft
Move the active column one position toward the start of the display order.
TableMoveColumnRight
Move the active column one position toward the end of the display order.
TableNextColumn
Move the active table cell one column right.
TableNextRow
Move the active table cell one row downward.
TablePageDown
Move the active table cell one visible page downward.
TablePageUp
Move the active table cell one visible page upward.
TablePreviousColumn
Move the active table cell one column left.
TablePreviousRow
Move the active table cell one row upward.
TableResizeColumnLarger
Grow the column the focused resize handle controls.
TableResizeColumnSmaller
Shrink the column the focused resize handle controls.
TableRowState
State supplied to one caller-owned table-row renderer.
TableSelectAll
Select every row.
TableSelection
The rows one table has selected, retained as merged inclusive ranges.
TableSelectionChanged
Dispatched by the table after an interaction changed the row selection.
TableSort
Current sort declaration. QuickGUI renders and exposes it; the owning view orders its data.
TableState
Retained scroll, cell selection, and sort state for a virtualized table.
TableToggleSelection
Add or remove the active row from a multiple selection.
Tabs
A controlled, unstyled in-window tab-set descriptor.
TabsIndicatorGeometry
The geometry of the active tab, for an application-animated indicator.
TabsState
Allocation-free controlled active value for one tab set.
Task
A running foreground future.
TextCheckingOverrides
Per-input overrides layered over default_text_checking.
TextCheckingPolicy
Resolved per-input text checking behavior.
TextHighlight
One validated styled UTF-8 byte range.
TextId
A stable identity used to retain shaped text across frames.
TextRun
A retained text command. Reuse id and the same Arc<str> to avoid shaping and allocation.
TextShadow
One drop shadow painted beneath a text run.
TextStyle
Text metrics and shaping properties. The ordinary foreground color does not invalidate shaping; explicit decoration colors remain part of the retained attribute key.
TextSubstitution
One accepted text substitution supplied by a provider’s replacement dictionary.
TimeField
A copyable declaration for one unstyled time field.
TimeFieldSegment
A copyable declaration for one time-field segment.
TimeFieldState
Controlled segmented editing state for one time field.
TimeSegments
A copyable iterator over the segments one time field presents.
Toast
One caller-declared toast.
ToastEntry
One queued toast with its exact remaining lifetime.
ToastId
Stable identity of one queued toast.
ToastManager
A bounded in-window toast queue with exact one-shot auto-dismissal.
ToastParts
A copyable declaration for the parts of one queued toast.
ToastSwipeChange
What one captured swipe event did to a toast.
ToastViewport
A controlled, unstyled toast-viewport descriptor.
Toggle
Copyable declaration for one unstyled toggle button.
ToggleGroup
A controlled, unstyled toggle-group descriptor.
ToggleGroupEntry
A copyable declaration for one mounted toggle-group item.
ToggleGroupFirst
Move toggle-group focus to the first enabled item.
ToggleGroupItem
One caller-declared toggle-group item.
ToggleGroupLast
Move toggle-group focus to the final enabled item.
ToggleGroupNext
Move toggle-group focus to the next enabled item.
ToggleGroupPrevious
Move toggle-group focus to the previous enabled item.
ToggleGroupState
Controlled, allocation-free pressed values and roving focus for one toggle group.
Toolbar
A controlled, unstyled toolbar descriptor.
ToolbarEntry
A copyable declaration for one mounted toolbar item.
ToolbarFirst
Move toolbar focus to the first enabled item.
ToolbarItem
One caller-declared toolbar item.
ToolbarLast
Move toolbar focus to the final enabled item.
ToolbarNext
Move toolbar focus to the next enabled item.
ToolbarPrevious
Move toolbar focus to the previous enabled item.
ToolbarState
Allocation-free controlled roving-focus value for one toolbar.
Tooltip
A lazily displayed, pointer-passive GPU overlay attached to an element.
TooltipPartState
A copyable render-state snapshot for one Base UI-shaped tooltip.
TooltipProvider
Shared open timing for a group of tooltips, Base UI’s Tooltip.Provider.
TooltipState
Bounded controlled state for one unstyled tooltip built from Base UI’s compound parts.
TouchEvent
One fixed-size direct-touch sample in logical top-left window coordinates.
TouchId
Opaque identity for one touch from start through end or cancellation.
TouchListener
An opaque raw-touch binding returned by ViewContext::touch_listener.
Transform2D
A 2-D affine transform stored as the two columns of its linear part plus a translation.
Transition
A web-like transition for paint-only element style changes.
TransitionProperties
Paint properties selected by a Transition.
TrayEvent
An interaction delivered by a native tray host.
TrayIconImage
A validated RGBA8 image used by a native tray icon.
TrayIconOptions
Complete state for one native tray icon. Sending it again atomically replaces prior state.
TreeActivate
Activate the selected item.
TreeCollapseOrParent
Collapse an expanded branch, otherwise move to its parent.
TreeExpandOrChild
Expand a collapsed branch, otherwise move to its first visible child.
TreeFirst
Move to the first visible enabled tree item.
TreeLast
Move to the final visible enabled tree item.
TreeLayout
Structural geometry retained by one virtualized tree.
TreeLoadChildren
Dispatched by the tree when expanding a branch whose children are not loaded yet.
TreeNext
Move to the next visible enabled tree item.
TreeNode
Application value and hierarchy retained by a TreeState.
TreePageDown
Move one visible page downward.
TreePageUp
Move one visible page upward.
TreePrevious
Move to the previous visible enabled tree item.
TreeRow
A borrowed visible tree row passed to application rendering.
TreeState
Retained hierarchy, expansion, selection, and virtual-scroll state for a tree view.
TreeToggle
Toggle the expansion state of the selected branch.
Undo
Undo the last registered change.
UndoEntry
One reversible application change.
UndoManager
Bounded application-wide undo and redo history.
UndoableChange
A value-based reversible change over one cloneable application value.
UploadSummary
Result of one bounded CrashReporter::upload_pending pass.
UserTask
One command exposed in the Windows taskbar Jump List.
ValidationIssue
One enabled control that prevented a form submission.
ValidationReport
Bounded, document-ordered details for a form that could not be submitted.
ValueFormat
A bounded value formatter shared by Progress and Meter.
Vector
A two-dimensional displacement in logical pixels.
ViewContext
Context provided while a view declares its element tree.
VirtualList
Constant-height virtual scrolling with bounded memory and O(1) range calculation.
VisibleRows
The visible slice of a VirtualList.
Watchdog
Opt-in main-thread hang detector.
WatchdogOptions
Bounded watchdog configuration.
WeakEntity
A non-owning reference to an Entity.
WindowHandle
Stable application-level identity for a QuickGUI window.
WindowInvalidator
Thread-safe invalidation handle for one retained window.
WindowOptions
Initial native and renderer configuration for a window opened by App.
WindowRegistry
Immutable bounded application-wide window lookup captured at one core event boundary.
WindowRestoreState
Persistable window geometry and display identity.
WindowState
Retained native state available during declarative rendering.
WindowTabState
Constant-size snapshot of one native system window-tab group.

Enums§

AccessibilityAutoComplete
Suggestion presentation exposed by an editable combobox or text input.
AccessibilityLive
Announcement urgency projected for one live region.
AccessibilityOrientation
Axis projected for accessibility roles whose behavior changes with orientation.
AccessibilityPopover
Kind of popover exposed by a trigger to assistive technology.
AccessibilityRole
Platform-neutral semantics used to build the native accessibility tree.
AccessibilitySortDirection
Sort order exposed by a table or grid column header.
AccordionStateError
A controlled accordion value violated its bounded single/multiple contract.
ActivationPolicy
Native prompt severity, matching the platform’s informational, warning, and critical styles. How the application appears to the operating system’s window and application switchers.
AnchorAlign
The cross-axis alignment an element was placed with.
AnchorPlacement
Preferred placement for a floating element relative to its anchor.
AnchorSide
The side of its anchor an element was placed on.
AnimationRepeat
AppError
AppRegion
Web-style window drag behavior for a laid-out element.
AppRunStatus
Result of one externally driven application-loop turn.
AssetError
A bounded application-asset failure.
AsyncContextError
A fallible operation requested through AsyncViewContext.
AutoStartMode
Explicit platform strategy for login launch registration.
AutocompleteSelectionBehavior
What committing a suggestion does to the free-form input value.
AvatarLoadingStatus
Load state of the image behind one Avatar.
Background
BackgroundRepeat
Which axes a background image tiles along.
BackgroundSize
How a background image is scaled inside its element box.
BackgroundTaskError
A background operation failed before producing its value.
BacktracePolicy
Whether a panic report captures a std::backtrace::Backtrace.
BatteryStatus
Current charging state reported by the operating system.
BlendMode
A separable CSS blend mode used to combine a compositing group with what is already painted.
BorderStyle
How a border or outline ring is painted along its perimeter.
CalendarWeekday
The weekday a calendar’s week rows start on.
CivilPeriod
The half of a 12-hour clock a time falls in.
ClipboardEntry
One typed representation inside a clipboard item.
ClipboardError
A bounded clipboard construction or platform-access failure.
ClipboardImageFormat
One supported encoded clipboard image representation.
ColorPanelMode
When a system color panel reports the user’s selection.
ColorScheme
The operating system’s preferred application color scheme.
CrashKind
How a report was produced.
CursorGrabMode
Native pointer confinement policy for one window.
CursorStyle
Native cursor shown while the pointer is over an element.
CustomShaderError
DateFieldOrder
Segment order declared by one date field.
DateSegment
One editable part of a date field.
DialogKind
Native accessibility behavior for one in-window modal surface.
Direction
Inline layout direction of an element and everything it contains.
DispatchPhase
One of the two ordered stages used for targeted desktop mouse dispatch.
DisplayError
DisplayEvent
One granular change between two consecutive display snapshots.
DockAttention
Urgency of a request for the user’s attention.
DragOrigin
Identifies whether a typed drop originated in this window, another QuickGUI window, or another application.
DrawerModality
How much of the window one drawer takes over while it is open.
ElementUpdate
A change to a mounted element, addressed by stable identity.
Event
Framework-level input and window events, expressed in logical pixels.
ExternalDragOperation
The operation chosen by the native drag destination.
ExternalDragPayload
Data offered when an internal drag is promoted to a native platform drag.
ExternalDragUrlError
FieldValidationMode
When a field’s controlled validity is expected to be recomputed.
FieldValidationTrigger
What just happened to a field’s value or focus.
FileIconSize
Requested native file-icon size.
FillRule
Filter
A CSS-shaped filter.
FollowMode
Whether content appended at the end should continue following the tail.
FontFamily
A generic or explicitly named font family.
FontSource
One custom font declaration accepted by crate::Application::font.
FontStyle
Allows italic or oblique faces to be selected.
ForegroundTaskSpawnError
A foreground future could not be scheduled without exceeding a hard ownership bound.
GesturePhase
The lifecycle phase of a native continuous gesture.
GradientColorSpace
Color interpolation used by a two-stop linear gradient.
GradientDirection
A CSS-like named direction for a linear gradient.
GradientKind
The geometry of a Gradient.
Hyphens
Whether soft hyphens (U+00AD) may become visible break opportunities.
IdleState
System idleness classified against an application-supplied threshold.
ImageError
ImageSource
A source accepted by crate::img. New resource kinds can be added without changing views.
Key
KeyboardLayoutError
Validation failure while constructing a deterministic keyboard layout.
LineCap
LineJoin
ListAlignment
The edge from which a variable-height list is naturally anchored.
MacOsVibrancy
Semantic macOS material rendered behind transparent application pixels.
MacOsVisualEffectState
Whether a macOS vibrancy material follows the window’s active state.
MenuError
MenuItem
One action, separator, or nested menu in a Menu.
MenuItemMark
Native state indicator shown beside a menu item.
MenuOrientation
Which axis an unstyled menu’s roving highlight moves along, Base UI’s Root orientation.
MisspellingKind
Why one checked range is flagged.
MouseButton
NavigationMenuActivationDirection
Which way the active menu moved, for the application’s own transition.
NavigationMenuOrientation
Layout and keyboard axis for one navigation menu.
NotificationPermissionStatus
Current operating-system authorization for application notifications.
NumberFieldScrubDirection
The axis a number field’s scrub area follows, Base UI’s ScrubArea direction.
NumberFieldStepSize
Which step size one keyboard, wheel, or scrub gesture applies.
ObjectFit
How image content is sized inside its layout box.
OperatingSystem
Compile-time operating system used by the running process.
OperatingSystemFamily
Compile-time operating-system family used by the running process.
OsAction
Commands that should first follow the operating system’s native responder chain.
OtpValidationType
Which characters one OTP field accepts.
OverflowWrap
Whether an otherwise unbreakable word may be broken to avoid overflow.
PathError
PathStyle
PerformanceProfile
GPU selection policy. Balanced lets WGPU choose the most appropriate adapter.
PermissionKind
A privacy-controlled native capability.
PermissionStatus
Current operating-system authorization state for a native capability.
PickerError
A picker source exceeded a hard CPU or memory boundary.
PickerFilterMode
How a picker turns its controlled query into the bounded result set.
PlatformError
A platform-service request could not be accepted or completed.
PointerPhase
The stage of a captured pointer interaction.
PopoverAnchor
The point of a parent-space anchor rectangle used to position a popover.
PopoverGravity
The direction in which a popover extends from its anchor point.
PopoverKind
Semantic content exposed by a controlled Popover.
PopoverMenuActivation
Result of activating one enabled popover-menu item.
PopoverMenuError
A construction error that prevents unbounded or ambiguous retained menu state.
PopoverMenuItemKind
The structural role of one unstyled popover-menu entry.
PowerAssertionKind
The native sleep behavior prevented while a PowerAssertion is alive.
PowerEvent
A native operating-system power or session transition.
PowerSource
The source currently powering the system.
PressureStage
The click level reported by a force-sensitive pointing device.
ProgressStatus
How far along a task one Progress indicator reports being.
PromptButton
One semantically classified native prompt button.
PromptLevel
QuitMode
Defines when closing the final native window should terminate the application.
QuitReason
Source of one application-level quit request.
RadialGradientExtent
Where a radial gradient’s ending shape is sized to.
RadialGradientShape
The outline shape of a radial gradient.
RouterError
Invalid route declarations or internal destinations.
ScenePlane
The two framework-rendered planes around platform-native child content.
ScrollAreaOrientation
Which axis one scrollbar, thumb, or overflow query addresses.
ScrollDelta
Native scroll-wheel movement before conversion into an application-selected line height.
SeparatorOrientation
Layout axis projected by one Separator.
SessionState
Current login-session activity.
ShareItem
One item offered to the operating system’s share sheet.
SingleInstanceError
Failure to acquire or contact an application single-instance endpoint.
SliderOrientation
Layout and keyboard axis for one slider.
SliderThumbAlignment
Where a thumb sits relative to the value position along the track.
SnapAlign
Where a scroll-snap child aligns inside its scroll container’s viewport.
SnapStrictness
How strictly a scroll container must land on one of its snap positions.
SplitterOrientation
Pane layout axis for one splitter.
SpringPlayback
Controls how a retained spring advances and resolves its presentation value.
SvgError
SwipeDirection
The edge a drawer is swiped toward to dismiss it.
SystemBitness
SystemColorRole
Semantic operating-system color exposed without retaining a native color object.
SystemIntegrationError
An operating-system integration rejected or failed an operation.
SystemMenuType
Native menus with operating-system-owned contents.
SystemNotificationActionKind
Interaction requested for a notification action.
SystemNotificationSound
Audio policy for one operating-system notification.
TableColumnAlign
Horizontal alignment for one table column.
TableSelectionMode
How many rows one table may select at a time.
TableSortDirection
Direction requested for an application-owned table ordering.
TabsActivationDirection
The side the selection last travelled toward, Base UI’s data-activation-direction.
TabsActivationMovement
Which way the selection last travelled along a tab list.
TabsOrientation
Layout and keyboard axis for one unstyled tab set.
TaskSpawnError
A failure to enqueue application work without blocking the UI thread.
TaskbarProgressState
Native taskbar progress presentation for one window.
TextAlign
Horizontal alignment of text lines within their element bounds.
TextDirection
Base paragraph direction used when shaping bidirectional text.
TextOverflow
How overflowing text is replaced inside its assigned width.
TextServiceError
A service that the current target or provider cannot perform.
TextShaping
Text shaping strategy.
TextTransform
Case mapping applied to non-editable text before shaping.
TextUnderline
Underline shape for one highlighted text range.
TextWrap
ThermalState
Coarse system thermal pressure.
TimeSegment
One editable part of a time field.
TitleBarStyle
Native window titlebar presentation.
ToastKind
Urgency of one toast, which selects its live-region politeness and role.
ToastSwipeDirection
The direction a toast is swiped to dismiss it, Base UI’s swipeDirection.
ToggleGroupSelection
How many items of one toggle group can be pressed at once.
ToggleState
The controlled checked state exposed by checkbox-like accessibility roles.
ToolbarOrientation
Layout and keyboard axis for one toolbar.
TooltipCursorAxis
Which axes a tooltip follows the pointer along, Base UI’s trackCursorAxis.
TouchPhase
The lifecycle phase of one raw touch contact.
TrayEventKind
TrayMenuItem
One item in a tray icon’s native context menu.
TrayMouseButton
TreeError
A tree source exceeded a hard identity, depth, or retained-text boundary.
UserSelect
CSS-like policy for selecting immutable text with the pointer.
Visibility
Whether an element subtree is painted while retaining its layout box.
WhiteSpace
CSS-like whitespace handling for text descendants.
WindowAppearance
Effective light or dark appearance of a native window.
WindowBackgroundAppearance
Compositor treatment for pixels not covered by fully opaque application content.
WindowBounds
Persistable window state together with its windowed restore geometry.
WindowCommandError
WindowKind
Native role and parent relationship of a top-level window.
WindowLevel
Requested native stacking level independent from a window’s ownership role.
WordBreak
Where a line may break inside a run of characters.

Constants§

CALENDAR_WEEK_DAYS
Days in one calendar week row.
CARET_BLINK_HALF_PERIOD
Half of the caret blink period: solid for this long, then hidden for this long.
CONTEXT_MENU_SUBMENU_AIM_DELAY
Maximum grace interval while the pointer follows a safe corridor into an open submenu.
CONTEXT_MENU_SUBMENU_HOVER_DELAY
Native-style dwell before pointer hover opens a submenu.
CRASH_REPORT_SCHEMA_VERSION
Schema version stamped into every report QuickGUI writes.
CUSTOM_SHADER_PARAMETER_VECTORS
Number of vec4<f32> parameter slots supplied to every custom shader instance.
DEFAULT_DRAWER_DISMISS_VELOCITY
Default flick speed, in logical pixels per millisecond, that dismisses a drawer.
DEFAULT_MAX_CRASH_REPORTS
Retention used when the caller does not choose one.
DEFAULT_MAX_CRASH_REPORT_BYTES
Report size limit used when the caller does not choose one.
DEFAULT_MENU_CLOSE_DELAY
Default grace period when the pointer leaves a hover-opened menu trigger.
DEFAULT_MENU_HOVER_DELAY
Default dwell before a hovered menu trigger opens, matching Base UI’s 100 ms.
DEFAULT_NAVIGATION_MENU_CLOSE_DELAY
Default delay before a navigation menu closes once the pointer leaves it.
DEFAULT_NAVIGATION_MENU_DELAY
Default hover delay before a navigation menu opens, matching Base UI’s delay.
DEFAULT_NUMBER_FIELD_SCRUB_SENSITIVITY
Default logical pixels one scrub gesture travels per step.
DEFAULT_POPOVER_HOVER_DELAY
Default delay before a hovered popover trigger opens, matching Base UI’s 300 ms.
DEFAULT_PREVIEW_CARD_CLOSE_DELAY
Default delay before a preview card closes once the pointer leaves it.
DEFAULT_PREVIEW_CARD_DELAY
Default hover delay before a preview card opens, matching Base UI’s delay.
DEFAULT_SCROLL_AREA_LINE_HEIGHT
Default line height used to turn a discrete wheel notch into logical pixels.
DEFAULT_SCROLL_AREA_OVERFLOW_THRESHOLD
Default distance from an edge that still counts as “at the edge”.
DEFAULT_SELECT_VALUE_SEPARATOR
Default separator joining the labels of a multiple select’s value text.
DEFAULT_SYSTEM_IMAGE_POINT_SIZE
Default point size used by Image::named_system.
DEFAULT_SYSTEM_IMAGE_SCALE
Default backing scale used by Image::named_system.
DEFAULT_TOAST_LIMIT
Default number of toasts shown before the rest are flagged limited.
DEFAULT_TOAST_SWIPE_THRESHOLD
Default swipe distance one toast requires before it dismisses, in logical pixels.
DEFAULT_TOAST_TIMEOUT
Default auto-dismiss duration a provider gives a toast that declares none.
DEFAULT_TOOLTIP_DELAY
Native-style delay before a newly hovered tooltip becomes visible.
DEFAULT_TOOLTIP_GROUP_TIMEOUT
Default interval after a grouped tooltip closes during which the next one opens instantly.
DEFAULT_TOOLTIP_HOVER_DELAY
Default delay before a hovered trigger opens its Base UI-shaped tooltip.
DEFAULT_TREE_LOADING_LABEL
Default accessible name of the placeholder row shown while children load.
DEFAULT_WATCHDOG_HANG_THRESHOLD
Hang threshold used when the caller does not choose one.
DEFAULT_WATCHDOG_INTERVAL
Watchdog poll interval used when the caller does not choose one.
FIND_BAR_KEY_CONTEXT
Key context declared by FindBar::root_with.
IMAGE_LOADING_DELAY
Delay before a loading replacement is shown, avoiding flashes for fast local resources.
MAX_ABOUT_PANEL_TEXT_BYTES
Maximum UTF-8 bytes retained by one About-panel field.
MAX_ACCELERATOR_BYTES
Maximum UTF-8 bytes accepted for one Electron-style accelerator string.
MAX_ACCORDION_OPEN_ITEMS
Maximum simultaneously open values retained by one multiple accordion.
MAX_ACTION_LISTENERS_PER_ELEMENT
Maximum typed action listeners attached to one retained element.
MAX_ACTION_LISTENERS_PER_WINDOW
Maximum typed action callbacks declared by one window render.
MAX_ACTIVE_PLATFORM_DIALOGS
Maximum simultaneously visible native prompts or file panels in one application.
MAX_ACTIVE_TOUCHES_PER_WINDOW
Maximum simultaneously captured touch contacts retained by one window.
MAX_ANIMATED_IMAGE_BYTES
Maximum decoded RGBA bytes retained by one animated image.
MAX_ANIMATION_FPS
Highest exact timer cadence accepted by Animation::with_max_fps.
MAX_ANIMATION_FRAMES
Maximum frames retained by one animated image.
MAX_ANIMATION_STAGES
Maximum number of time-based stages retained by one animated element.
MAX_APPLICATION_GLOBALS
Maximum distinct typed values retained by one QuickGUI application.
MAX_APPLICATION_WINDOWS
Maximum handles returned by one immutable application-window registry snapshot.
MAX_APP_IDENTIFIER_BYTES
MAX_APP_NAME_BYTES
MAX_APP_VERSION_BYTES
MAX_ASSET_BYTES
Maximum bytes returned for one application asset.
MAX_ASSET_LIST_ENTRIES
Maximum entries accepted from one AssetSource::list result.
MAX_ASSET_LIST_PATH_BYTES
Maximum aggregate path bytes accepted from one AssetSource::list result.
MAX_ASSET_PATH_BYTES
Maximum UTF-8 bytes accepted in one normalized application asset path.
MAX_AUTOCOMPLETE_VALUE_BYTES
Maximum UTF-8 bytes retained for one free-form autocomplete value.
MAX_AUTOCOMPLETE_VISIBLE_ROWS
Maximum option rows mounted by one autocomplete popover before virtual scrolling takes over.
MAX_AVATAR_FALLBACK_DELAY
Longest fallback delay one avatar may declare.
MAX_BACKGROUND_IMAGE_TILES
Largest number of repeated background-image tiles painted for one element.
MAX_BIOMETRIC_REASON_BYTES
Maximum UTF-8 bytes accepted for one biometric-authentication reason.
MAX_BLUR_RADIUS
Largest accepted Gaussian standard deviation for a subtree or backdrop blur, in logical pixels.
MAX_BOX_SHADOWS_PER_ELEMENT
Maximum CSS-like box shadows retained by one element or interaction-state override.
MAX_BOX_SHADOW_BLUR_RADIUS
Largest accepted analytic shadow blur in logical pixels.
MAX_BOX_SHADOW_EXTENT
Largest absolute shadow offset or spread in logical pixels.
MAX_BUNDLED_ASSETS
Maximum entries retained by BundledAssets.
MAX_BUNDLED_ASSET_BYTES
Maximum aggregate payload bytes retained by BundledAssets.
MAX_CALENDAR_WEEKS
Maximum week rows one month grid mounts.
MAX_CHECKBOX_GROUP_VALUES
Maximum declared values one checkbox group retains.
MAX_CHILD_WINDOW_CLOSE_LISTENERS_PER_WINDOW
Maximum declarative child-window close callbacks retained by one parent window.
MAX_CIVIL_YEAR
Largest year one civil date, date field, or calendar accepts.
MAX_CLIPBOARD_BOOKMARK_TITLE_BYTES
Maximum UTF-8 bytes retained by one native bookmark title.
MAX_CLIPBOARD_BOOKMARK_URL_BYTES
Maximum UTF-8 bytes retained by one native bookmark URL.
MAX_CLIPBOARD_DATA_BYTES
Maximum aggregate arbitrary MIME payload bytes retained by one clipboard item.
MAX_CLIPBOARD_DECODED_IMAGE_BYTES
Maximum decoded RGBA bytes accepted by a non-macOS system clipboard conversion.
MAX_CLIPBOARD_ENTRIES
Maximum entries retained by one ClipboardItem.
MAX_CLIPBOARD_IMAGE_BYTES
Maximum aggregate encoded image bytes retained by one clipboard item.
MAX_CLIPBOARD_METADATA_BYTES
Maximum aggregate metadata bytes retained by one clipboard item.
MAX_CLIPBOARD_MIME_TYPE_BYTES
Maximum UTF-8 bytes retained by one clipboard MIME type.
MAX_CLIPBOARD_PATHS
Maximum external paths retained by one clipboard item.
MAX_CLIPBOARD_PATH_BYTES
Maximum UTF-8 bytes retained by one external path.
MAX_CLIPBOARD_TEXT_BYTES
Maximum aggregate UTF-8 text bytes retained by one clipboard item.
MAX_CLIPBOARD_TOTAL_PATH_BYTES
Maximum aggregate UTF-8 external-path bytes retained by one clipboard item.
MAX_COMBOBOX_VALUES
Maximum values one multiple combobox retains as chips.
MAX_COMBOBOX_VISIBLE_ROWS
Maximum option rows mounted by one constrained combobox popover.
MAX_CONTAINER_QUERIES_PER_WINDOW
Maximum CSS-like container query nodes retained by one window declaration.
MAX_CONTAINER_QUERY_DEPTH
Maximum nested container-query depth resolved in one declaration.
MAX_CORNER_RADIUS
Largest accepted corner radius in logical pixels.
MAX_CPU_IMAGE_CACHE_BYTES
Maximum decoded image bytes retained by the asynchronous CPU resource cache.
MAX_CPU_SAMPLE_INTERVAL
Maximum accepted CPU-sampler interval; longer gaps are reported without a percentage.
MAX_CRASH_BACKTRACE_BYTES
Maximum retained backtrace length; longer backtraces are truncated.
MAX_CRASH_EXTRA_PARAMETERS
Maximum number of retained extra parameters.
MAX_CRASH_MESSAGE_BYTES
Maximum retained panic/hang message length; longer messages are truncated.
MAX_CRASH_PARAMETER_KEY_BYTES
Maximum UTF-8 length of one extra-parameter key.
MAX_CRASH_PARAMETER_VALUE_BYTES
Maximum UTF-8 length of one extra-parameter value.
MAX_CRASH_REPORTS
Hard ceiling for CrashReporterOptions::max_reports.
MAX_CRASH_REPORT_BYTES
Hard ceiling for CrashReporterOptions::max_report_bytes.
MAX_CRASH_UPLOAD_REPORTS
Maximum number of reports one CrashReporter::upload_pending call sends.
MAX_CUSTOM_FONTS
Maximum custom font files registered by one application.
MAX_CUSTOM_FONT_BYTES
Maximum bytes retained for one custom font file.
MAX_CUSTOM_FONT_FACES
Maximum custom font faces registered by one application.
MAX_CUSTOM_FONT_FACES_PER_FILE
Maximum faces accepted from one custom font collection.
MAX_CUSTOM_FONT_TOTAL_BYTES
Maximum aggregate custom font bytes retained by one application.
MAX_CUSTOM_SHADER_INSTANCES_PER_FRAME
Maximum visible custom shader rectangles uploaded in one frame.
MAX_CUSTOM_SHADER_PIPELINES_PER_WINDOW
Maximum distinct application shader pipelines retained by one window.
MAX_CUSTOM_SHADER_SOURCE_BYTES
Maximum application WGSL retained by one custom shader.
MAX_DATE_FIELD_PLACEHOLDER_BYTES
Maximum UTF-8 bytes retained by one segment placeholder.
MAX_DECLARATIVE_ANIMATIONS_PER_WINDOW
Maximum independently keyed declarative animations retained by one window.
MAX_DECODED_IMAGE_BYTES
Largest decoded RGBA allocation owned by one Image.
MAX_DEEP_LINK_ARGUMENTS
Maximum process arguments inspected for one initial or secondary deep-link launch.
MAX_DEFINITION_LOOKUP_BYTES
Maximum UTF-8 bytes of one dictionary-lookup request.
MAX_DIALOG_TRANSITION
Longest open or close transition one DialogState may hold a dialog mounted for.
MAX_DISPLAYS
Maximum active displays retained in one application snapshot.
MAX_DISPLAY_COLOR_DEPTH
Largest reported bit depth retained by Display::color_depth.
MAX_DISPLAY_EVENTS
Maximum granular DisplayEvent values produced by one snapshot diff.
MAX_DISPLAY_NAME_BYTES
Maximum UTF-8 bytes retained for one operating-system display name.
MAX_DOCK_BADGE_BYTES
Maximum UTF-8 bytes accepted for a macOS Dock badge label.
MAX_DRAWER_DISMISS_VELOCITY
Largest flick speed a drawer may require, in logical pixels per millisecond.
MAX_DRAWER_SNAP_POINTS
Maximum snap points one drawer retains.
MAX_DROPPED_FILES
Maximum path count retained for one native file drag.
MAX_ENCODED_IMAGE_BYTES
Largest encoded file accepted by Image::open.
MAX_ENTITY_EVENTS_PER_CALLBACK
Maximum typed entity events one callback may enqueue.
MAX_ENTITY_EVENT_DELIVERIES_PER_TURN
Maximum subscriber callbacks invoked before a recursive event cycle is rejected.
MAX_ENTITY_NOTIFICATIONS_PER_EVENT
Maximum distinct entity notifications retained from one event callback.
MAX_ENTITY_SUBSCRIPTIONS_PER_WINDOW
Maximum typed entity subscriptions retained by one window declaration.
MAX_EXTERNAL_DRAG_FILES
Maximum file count retained for one outbound native drag.
MAX_EXTERNAL_DRAG_PATH_BYTES
Maximum encoded bytes retained for one outbound native-drag path.
MAX_EXTERNAL_DRAG_TEXT_BYTES
Maximum UTF-8 storage retained by one inbound or outbound native text drag.
MAX_EXTERNAL_DRAG_TOTAL_PATH_BYTES
Maximum encoded path bytes retained across one outbound native drag.
MAX_EXTERNAL_DRAG_URL_BYTES
Maximum UTF-8 storage retained by one inbound or outbound native URL drag.
MAX_FIELD_VALIDATION_DEBOUNCE
Longest revalidation debounce one field may declare.
MAX_FILE_DIALOG_FILTERS
Maximum named filters accepted by one native file dialog.
MAX_FILE_DIALOG_FILTER_BYTES
Maximum aggregate UTF-8 bytes retained by file-dialog filter names and extensions.
MAX_FILE_DIALOG_FILTER_EXTENSIONS
Maximum extensions retained across all filters in one native file dialog.
MAX_FILE_PREVIEW_NAME_BYTES
Maximum UTF-8 bytes retained by one Quick Look preview display name.
MAX_FILTERS_PER_ELEMENT
Largest number of color filters retained by one element.
MAX_FIND_MATCHES
Maximum matches retained for one query.
MAX_FIND_QUERY_BYTES
Maximum UTF-8 bytes accepted for one find query.
MAX_FIND_REPLACEMENT_BYTES
Maximum UTF-8 bytes accepted for one replacement string.
MAX_FOCUSED_EVENT_PATH
Maximum retained ancestor depth traversed by one focused action or key event.
MAX_FONT_FALLBACKS
Maximum number of ordered custom fallback families retained by one font style.
MAX_FONT_FAMILY_BYTES
Maximum UTF-8 size accepted for one named font family.
MAX_FONT_FEATURES
Maximum number of explicit OpenType feature values retained by one font style.
MAX_FOREGROUND_POLLS_PER_TURN
Maximum foreground futures polled from one event-loop wake before yielding to platform input.
MAX_FOREGROUND_TASKS_PER_APPLICATION
Maximum live foreground futures owned by one application.
MAX_FOREGROUND_TASKS_PER_WINDOW
Maximum live foreground futures owned by one native window.
MAX_FOREGROUND_TIMERS_PER_APPLICATION
Maximum exact foreground timers retained by one application.
MAX_FOREGROUND_TIMERS_PER_TASK
Maximum exact timers one foreground future may await concurrently.
MAX_FOREGROUND_UPDATES_PER_TASK
Maximum UI updates one foreground future may have queued at once.
MAX_FORM_FIELDS
Maximum controlled text fields exposed by one form submission.
MAX_FORM_SUBMISSIONS_PER_EVENT
Maximum programmatic form submissions queued by one event callback.
MAX_GLOBAL_NOTIFICATIONS_PER_EVENT
Maximum distinct global changes retained from one event callback.
MAX_GLOBAL_OBSERVER_DELIVERIES_PER_TURN
Maximum global observer callbacks invoked during one deferred effect turn.
MAX_GLOBAL_SHORTCUTS
Maximum global shortcuts retained by one QuickGUI application.
MAX_GLOBAL_SHORTCUT_ACCELERATOR_BYTES
Maximum UTF-8 bytes accepted for one global-shortcut accelerator.
MAX_GLOBAL_SUBSCRIPTIONS_PER_WINDOW
Maximum RAII global-change subscriptions retained by one window.
MAX_GPU_IMAGE_CACHE_BYTES
Maximum decoded image pixels retained by one renderer on the GPU.
MAX_GPU_IMAGE_CACHE_ENTRIES
Maximum distinct image textures retained by one renderer.
MAX_GPU_PATHS_PER_FRAME
Maximum visible path paints uploaded in one frame.
MAX_GPU_PATH_VERTICES
Maximum tessellated path vertices uploaded in one frame.
MAX_GPU_SVG_CACHE_BYTES
Maximum one-channel SVG mask bytes retained by one renderer.
MAX_GPU_SVG_CACHE_ENTRIES
Maximum distinct SVG identity-and-size mask textures retained by one renderer.
MAX_GRABBING_POPOVERS
Maximum nested menu-style native popover grabs retained by one application.
MAX_GRADIENTS_PER_FRAME
Largest number of resolved gradients uploaded for one window frame.
MAX_GRADIENT_STOPS
Largest number of color stops retained by one Gradient.
MAX_GRID_TRACKS
Maximum explicit grid tracks accepted on either axis.
MAX_GROUP_STYLES_PER_ELEMENT
Most group states — group_hover and group_active entries together — one element follows.
MAX_HIGHLIGHT_FONT_FAMILY_BYTES
Maximum UTF-8 size of one custom family name retained by a highlighted run.
MAX_HOVER_GROUP_NAME_BYTES
Longest name a group can be declared with or targeted by, in bytes.
MAX_IDLE_THRESHOLD
Largest threshold accepted by PowerMonitor::system_idle_state.
MAX_IMAGE_DATA_URL_BYTES
Largest data: URL accepted by Image::from_data_url, including its header.
MAX_IMAGE_DIMENSION
Largest accepted width or height for a decoded image.
MAX_IMAGE_REPRESENTATIONS
Largest number of additional scale representations retained by one Image.
MAX_IMAGE_REPRESENTATION_SCALE
Largest accepted representation scale factor.
MAX_IMAGE_RESOURCE_CACHE_ENTRIES
Maximum ready, loading, deferred, and failed image resource entries retained by one window.
MAX_KEYBOARD_LAYOUT_ID_BYTES
Maximum UTF-8 bytes retained for a native keyboard-layout identifier.
MAX_KEYBOARD_LAYOUT_NAME_BYTES
Maximum UTF-8 bytes retained for a native keyboard-layout display name.
MAX_KEY_LISTENERS_PER_ELEMENT
Maximum focused key listeners attached to one retained element.
MAX_KEY_LISTENERS_PER_WINDOW
Maximum focused key callbacks declared by one window render.
MAX_LAYERS_PER_FRAME
Largest number of compositing groups rendered in one frame.
MAX_LAYER_DEPTH
Largest nesting depth of compositing groups. Deeper groups paint without their effect.
MAX_LAYER_TEXTURE_BYTES
Largest total size, in bytes, of the offscreen textures one window retains for compositing.
MAX_LIST_ITEMS
Maximum number of items retained by one variable-height ListState.
MAX_LIST_ITEM_HEIGHT
Maximum logical height retained for one variable-height list item.
MAX_LIST_OVERSCAN_ITEMS
Maximum number of extra items mounted on either side of a variable-height viewport.
MAX_MENUBAR_MENUS
Maximum top-level menus one in-window menubar manages.
MAX_MESSAGE_BOX_CHECKBOX_BYTES
Maximum UTF-8 bytes retained by one native message-box checkbox label.
MAX_MISSPELLED_RANGES
Maximum misspelled or ungrammatical ranges retained for one text input.
MAX_MOUNTED_LIST_ITEMS
Maximum number of variable-height items one declaration may mount.
MAX_MOUSE_EVENT_PATH
Maximum retained ancestor depth traversed by one targeted desktop mouse event.
MAX_MOUSE_LISTENERS_PER_ELEMENT
Maximum targeted desktop mouse declarations attached to one retained element.
MAX_MOUSE_LISTENERS_PER_WINDOW
Maximum targeted desktop mouse callbacks declared by one window render.
MAX_NATIVE_MENU_DEPTH
Maximum nested native-menu depth.
MAX_NATIVE_MENU_ITEMS
Maximum action, role, separator, submenu, and system-menu nodes in one native menu tree.
MAX_NATIVE_MENU_TEXT_BYTES
Maximum UTF-8 bytes in one native menu or item label.
MAX_NATIVE_MENU_TOTAL_TEXT_BYTES
Maximum aggregate UTF-8 label bytes in one native menu declaration.
MAX_NATIVE_POPUP_MENUS_PER_EVENT
Maximum native popup menus one event callback may request.
MAX_NAVIGATION_MENU_DELAY
Longest open or close delay one navigation menu may declare.
MAX_NAVIGATION_MENU_ITEMS
Maximum top-level items one navigation menu retains.
MAX_NESTED_DRAWERS
Maximum drawers one composition may nest.
MAX_NUMBER_FIELD_PRECISION
Maximum fractional digits one number field formats.
MAX_NUMBER_FIELD_SCRUB_SENSITIVITY
Maximum logical pixels one scrub gesture may travel per step.
MAX_NUMBER_FIELD_TEXT_BYTES
Maximum UTF-8 bytes retained by one number field’s editing text.
MAX_OBSERVED_ENTITIES_PER_WINDOW
Maximum distinct entities one retained window may observe in one view declaration.
MAX_OBSERVED_GLOBALS_PER_WINDOW
Maximum distinct global types one retained window may observe during a view declaration.
MAX_OPEN_URLS
Maximum URLs accepted from one native application-open callback.
MAX_OPEN_URLS_TOTAL_BYTES
Maximum aggregate UTF-8 bytes retained by one native application-open callback.
MAX_OTP_LENGTH
Maximum slots one OTP field retains.
MAX_OUTLINE_OFFSET
Largest accepted absolute outline offset in logical pixels.
MAX_OUTLINE_WIDTH
Largest accepted outline width in logical pixels.
MAX_PATH_BYTES
Maximum retained triangle-position and boundary metadata owned by one path.
MAX_PATH_COMMANDS
Maximum path-building commands accepted before tessellation.
MAX_PATH_COORDINATE
Largest absolute source coordinate accepted by the builder.
MAX_PATH_DASH_SEGMENTS
Maximum dash segments generated from one stroked path.
MAX_PATH_VERTICES
Maximum de-indexed vertices retained by one path.
MAX_PENDING_BACKGROUND_TASKS
Maximum application jobs waiting behind the fixed background worker set.
MAX_PENDING_ENTITY_EVENTS
Maximum typed events retained across one deferred application effect cycle.
MAX_PENDING_GLOBAL_NOTIFICATIONS
Maximum distinct global types queued across one deferred application effect cycle.
MAX_PENDING_IMAGE_LOADS
Maximum image decode jobs waiting behind the fixed worker set.
MAX_PENDING_NATIVE_POPUP_MENUS
Maximum selected native popup menus retained until their callback is routed.
MAX_PENDING_NOTIFICATION_PERMISSION_REQUESTS
Maximum permission futures coalesced behind one native notification authorization operation.
MAX_PENDING_PLATFORM_REQUESTS
Maximum deferred platform operations retained by one application effect cycle.
MAX_PENDING_SYSTEM_NOTIFICATIONS
Maximum distinct notification tags retained while native authorization is pending.
MAX_PENDING_TARGETED_ACTIONS
Maximum cross-window actions retained across one application effect cycle.
MAX_PENDING_WINDOW_COMMANDS
Maximum deferred native window mutations retained by one application effect cycle.
MAX_PICKER_ITEMS
Maximum number of source items retained by one picker.
MAX_PICKER_ITEM_TEXT_BYTES
Maximum UTF-8 search metadata accepted for one source item.
MAX_PICKER_QUERY_BYTES
Maximum UTF-8 bytes retained for one picker query.
MAX_PICKER_QUERY_GRAPHEMES
Maximum Unicode grapheme clusters accepted in a picker query.
MAX_PICKER_RESULTS
Maximum ranked results retained after one query.
MAX_PICKER_TEXT_BYTES
Maximum UTF-8 search metadata retained by one picker.
MAX_PINCH_DELTA_PER_EVENT
Maximum absolute magnification retained from one native pinch event.
MAX_PLATFORM_PATH_BYTES
Maximum platform-native bytes accepted for one filesystem path.
MAX_PLATFORM_REQUESTS_PER_EVENT
Maximum native platform operations one event callback may queue.
MAX_PLATFORM_TEXT_BYTES
Maximum UTF-8 bytes retained by one native dialog text field.
MAX_PLATFORM_URL_BYTES
Maximum UTF-8 bytes accepted for one URL shell action.
MAX_POPOVER_ALIGN_OFFSET
Maximum cross-axis shift applied to a popover before collision handling runs.
MAX_POPOVER_ARROW_SIZE
Maximum declared edge length of a framework-positioned popover arrow.
MAX_POPOVER_COLLISION_PADDING
Maximum collision padding kept between a popover and the window viewport edge.
MAX_POPOVER_HOVER_DELAY
Maximum hover open or close delay a popover trigger may declare.
MAX_POPOVER_MENU_DEPTH
Maximum nested popover-menu levels retained by one model.
MAX_POPOVER_MENU_ITEMS
Maximum entries retained by one popover-menu tree, including nested submenus.
MAX_POPOVER_MENU_ITEM_TEXT_BYTES
Maximum UTF-8 bytes retained by one item label, shortcut, or typeahead label.
MAX_POPOVER_MENU_LINK_BYTES
Maximum UTF-8 bytes retained by one menu link item’s destination URL.
MAX_POPOVER_MENU_TEXT_BYTES
Maximum text retained by one complete popover-menu tree.
MAX_POPOVER_MENU_TYPEAHEAD_BYTES
Maximum normalized text-navigation prefix retained between key presses.
MAX_POPOVER_SIDE_OFFSET
Maximum structural distance between a popover trigger and its positioner.
MAX_POWER_ASSERTION_REASON_BYTES
Maximum UTF-8 bytes retained for a native power-assertion reason.
MAX_PREFERRED_LANGUAGES
MAX_PREVIEW_CARD_DELAY
Longest open or close delay one preview card may declare.
MAX_PROMPT_BUTTONS
Maximum buttons accepted by one native prompt.
MAX_PROMPT_BUTTON_BYTES
Maximum UTF-8 bytes retained by one native prompt button label.
MAX_RELAUNCH_ARGUMENTS
Maximum arguments retained by one orderly relaunch request.
MAX_RELAUNCH_ARGUMENT_BYTES
Maximum aggregate encoded argument bytes retained by one relaunch request.
MAX_RELAUNCH_VALUE_BYTES
Maximum encoded bytes retained by one relaunch argument or path.
MAX_ROTATION_DEGREES_PER_EVENT
Maximum absolute rotation retained from one native gesture event, in degrees.
MAX_ROUTES
Maximum routes retained by one router.
MAX_ROUTE_DEPTH
Maximum ancestors, including pathless layouts, in one matched route chain.
MAX_ROUTE_DESTINATION_BYTES
Maximum bytes in one resolved internal destination, including query and fragment.
MAX_ROUTE_HISTORY_ENTRIES
Maximum entries retained by one router’s in-memory navigation history.
MAX_ROUTE_ID_BYTES
Maximum bytes in one application-declared route identifier.
MAX_ROUTE_PATTERN_BYTES
Maximum bytes in one fully resolved route pattern.
MAX_ROUTE_QUERY_PAIRS
Maximum decoded query pairs retained by one location.
MAX_ROUTE_SEGMENTS
Maximum segments in one compiled route pattern or navigated pathname.
MAX_SCROLL_AREA_OVERFLOW_THRESHOLD
Largest overflow edge threshold one scroll area may declare.
MAX_SCROLL_LINES_PER_EVENT
Maximum absolute platform line delta retained from one scroll-wheel event.
MAX_SCROLL_PIXELS_PER_EVENT
Maximum absolute platform pixel delta retained from one scroll-wheel event.
MAX_SCROLL_SNAP_CONTAINERS_PER_WINDOW
Maximum scroll-snap containers indexed for one rendered window.
MAX_SCROLL_SNAP_POINTS_PER_WINDOW
Maximum scroll-snap children indexed across every container in one rendered window.
MAX_SECOND_INSTANCE_ARGUMENTS
Maximum arguments forwarded by a later application process.
MAX_SECOND_INSTANCE_MESSAGE_BYTES
Maximum encoded size of one second-instance message.
MAX_SELECTED_PATHS
Maximum paths copied out of one native open panel.
MAX_SELECTED_PATHS_TOTAL_BYTES
Maximum aggregate filesystem bytes copied out of one native open panel.
MAX_SELECT_TYPEAHEAD_BYTES
Maximum UTF-8 bytes retained by one select popover’s incremental typeahead buffer.
MAX_SELECT_VALUES
Maximum values one multiple select retains at once.
MAX_SELECT_VISIBLE_ROWS
Maximum option rows mounted by one standalone select popover before virtual scrolling takes over.
MAX_SHARE_ITEMS
Maximum items accepted by one native share sheet.
MAX_SHARE_ITEM_TEXT_BYTES
Maximum UTF-8 bytes accepted for one share-sheet text or URL item.
MAX_SINGLE_INSTANCE_IDENTIFIER_BYTES
Maximum UTF-8 bytes accepted for a single-instance application identifier.
MAX_SLIDER_THUMBS
Maximum thumbs retained by one slider.
MAX_SPELLCHECK_BYTES
Maximum UTF-8 bytes handed to a spell checker for one settled check.
MAX_SPELL_GUESSES
Maximum replacement guesses retained for one misspelled word.
MAX_SPELL_WORD_BYTES
Maximum UTF-8 bytes of one word passed to guesses, learn, ignore, or correction services.
MAX_SPLITTER_PANES
Maximum panes managed by one splitter.
MAX_STATIC_TEXT_COPY_BYTES
Maximum UTF-8 payload materialized by one immutable-text copy operation.
MAX_STICKY_ELEMENTS_PER_WINDOW
Maximum sticky elements retained in one window’s view declaration.
MAX_STYLE_TRANSITIONS_PER_WINDOW
Maximum number of paint-only style transitions retained by one window.
MAX_SVG_RASTER_DIMENSION
Largest width or height rasterized for one SVG cache entry.
MAX_SVG_RASTER_PIXELS
Largest one-channel mask retained for one SVG cache entry.
MAX_SVG_SOURCE_BYTES
Largest compressed or plain SVG source accepted by Svg::from_bytes and Svg::open.
MAX_SYSTEM_LOCALES_TOTAL_BYTES
MAX_SYSTEM_LOCALE_BYTES
MAX_SYSTEM_NOTIFICATION_ACTIONS
Maximum action buttons accepted by one system notification.
MAX_SYSTEM_NOTIFICATION_ACTION_BYTES
Maximum UTF-8 bytes retained by one notification action identifier or label.
MAX_SYSTEM_NOTIFICATION_ATTACHMENTS
Maximum media attachments accepted by one system notification.
MAX_SYSTEM_NOTIFICATION_BODY_BYTES
Maximum UTF-8 bytes retained by a system-notification body.
MAX_SYSTEM_NOTIFICATION_CATEGORIES
Maximum distinct native notification action sets retained by one application.
MAX_SYSTEM_NOTIFICATION_ICON_BYTES
Maximum icon bytes copied into a desktop notification portal request.
MAX_SYSTEM_NOTIFICATION_OPTION_BYTES
Maximum UTF-8 bytes retained by an attachment identifier, reply placeholder, or sound name.
MAX_SYSTEM_NOTIFICATION_REPLY_BYTES
Maximum UTF-8 bytes copied out of one native inline-reply response.
MAX_SYSTEM_NOTIFICATION_TAG_BYTES
Maximum UTF-8 bytes retained by a system-notification identity tag.
MAX_SYSTEM_NOTIFICATION_TITLE_BYTES
Maximum UTF-8 bytes retained by a system-notification title.
MAX_SYSTEM_TEXT_BYTES
MAX_SYSTEM_WINDOW_TABS
Maximum native tabs inspected or exposed through one retained WindowState.
MAX_TABLE_COLUMNS
Maximum columns retained in one table declaration.
MAX_TABLE_COLUMN_WIDTH
Largest logical width a resizable column may take.
MAX_TABLE_ROWS
Maximum logical rows managed by one reusable table.
MAX_TABLE_SELECTION_RANGES
Maximum disjoint selected row ranges retained by one table.
MAX_TARGETED_ACTIONS_PER_EVENT
Maximum actions one callback may target at another retained window.
MAX_TASKBAR_OVERLAY_DESCRIPTION_BYTES
Maximum UTF-8 bytes retained by a taskbar-overlay accessibility description.
MAX_TEXT_HIGHLIGHTS
Hard limit for the number of styled byte ranges retained by one text element.
MAX_TEXT_SHADOW_SAMPLES
Maximum text primitives one blurred text shadow may add to the display list.
MAX_TEXT_SPACING
Maximum absolute logical letter or word spacing retained from one declaration.
MAX_TOASTS
Maximum toasts retained by one queue.
MAX_TOAST_DURATION
Longest auto-dismiss duration retained by one toast.
MAX_TOAST_SWIPE_THRESHOLD
Maximum swipe distance one toast may require before it dismisses, in logical pixels.
MAX_TOAST_TEXT_BYTES
Maximum UTF-8 bytes retained by one toast title, description, or action label.
MAX_TOGGLE_GROUP_ITEMS
Maximum items retained in one toggle group.
MAX_TOOLBAR_ITEMS
Maximum items retained in one toolbar declaration.
MAX_TOOLTIPS_PER_WINDOW
Maximum tooltip declarations indexed for one rendered window.
MAX_TOOLTIP_COLLISION_PADDING
Maximum collision padding kept between a tooltip and the window viewport edge.
MAX_TOOLTIP_CONTENT_NODES
Maximum detached element count accepted by one tooltip.
MAX_TOOLTIP_DELAY
Longest delay retained by one tooltip declaration.
MAX_TOOLTIP_GROUP_TIMEOUT
Longest grouping interval one TooltipProvider may declare.
MAX_TOOLTIP_SIDE_OFFSET
Maximum distance between a tooltip trigger and its positioner.
MAX_TOUCH_COORDINATE
Maximum absolute logical coordinate accepted from a native touch sample.
MAX_TRAY_ENCODED_ICON_BYTES
Maximum encoded image bytes decoded by TrayIconImage::from_encoded.
MAX_TRAY_ICONS
Maximum tray icons retained by one QuickGUI application.
MAX_TRAY_ICON_DIMENSION
Maximum width or height accepted for an in-memory tray icon.
MAX_TRAY_MENU_DEPTH
Maximum nested tray-menu depth.
MAX_TRAY_MENU_ITEMS
Maximum action items retained by one tray menu.
MAX_TRAY_TEXT_BYTES
Maximum UTF-8 bytes accepted for tray titles, tooltips, and menu labels.
MAX_TREE_DEPTH
Maximum hierarchical depth accepted by one tree.
MAX_TREE_LABEL_BYTES
Maximum UTF-8 bytes retained for one tree node label.
MAX_TREE_NODES
Maximum nodes retained by one tree state.
MAX_TREE_TEXT_BYTES
Maximum UTF-8 label bytes retained by one complete tree.
MAX_UNDO_ACTION_NAME_BYTES
Maximum UTF-8 bytes retained for one action name.
MAX_UNDO_ENTRIES
Maximum undoable entries retained on each of the undo and redo stacks.
MAX_UNDO_GROUP_ENTRIES
Maximum entries collected into one UndoManager::begin_group group.
MAX_USER_TASKS
Maximum Windows Jump List user tasks accepted in one replacement.
MAX_USER_TASK_TEXT_BYTES
Maximum UTF-8 bytes retained by one user-task text field.
MAX_VALIDATION_ISSUES
Maximum invalid controls retained by one validation report.
MAX_VALIDATION_MESSAGE_BYTES
Maximum UTF-8 bytes retained for one declarative validation message.
MAX_WATCHDOG_INTERVAL
Longest accepted watchdog poll interval.
MAX_WINDOW_ASPECT_RATIO
Maximum ratio between the two components of a window aspect ratio.
MAX_WINDOW_COMMANDS_PER_EVENT
Maximum window mutations one event callback may queue.
MAX_WINDOW_DOCUMENT_PATH_BYTES
Maximum encoded bytes accepted for a represented document path.
MAX_WINDOW_LOGICAL_COORDINATE
Maximum absolute desktop coordinate accepted by a programmatic window-bounds request.
MAX_WINDOW_LOGICAL_DIMENSION
Maximum logical width or height accepted by a programmatic window-bounds request.
MAX_WINDOW_TABBING_IDENTIFIER_BYTES
Maximum UTF-8 bytes accepted for a native window tabbing identifier.
MAX_WINDOW_TITLE_BYTES
Maximum UTF-8 bytes accepted for a native window title.
MIN_ANIMATION_FRAME_DURATION
Fast frame delays are clamped to one 60 Hz display interval.
MIN_CIVIL_YEAR
Smallest year one civil date, date field, or calendar accepts.
MIN_IMAGE_REPRESENTATION_SCALE
Smallest accepted representation scale factor.
MIN_SCROLL_AREA_THUMB_LENGTH
Smallest thumb extent a scroll area reports, in logical pixels.
MIN_TABLE_COLUMN_WIDTH
Smallest logical width a resizable column may take when it declares no minimum.
MIN_WATCHDOG_INTERVAL
Shortest accepted watchdog poll interval.
NAVIGATION_MENU_HORIZONTAL_KEY_CONTEXT
Key context used by a horizontal navigation menu’s triggers.
NAVIGATION_MENU_VERTICAL_KEY_CONTEXT
Key context used by a vertical navigation menu’s triggers.
NUMBER_FIELD_REPEAT_DELAY
Delay before a held increment or decrement button starts repeating.
NUMBER_FIELD_REPEAT_INTERVAL
Interval between repeats while an increment or decrement button stays held.
OTP_FIELD_KEY_CONTEXT
Key context used by otp_field_key_bindings.
POPOVER_MENU_HORIZONTAL_KEY_CONTEXT
Context installed on an interactive horizontal PopoverMenu root, such as a menubar row.
POPOVER_MENU_KEY_CONTEXT
Context installed on an interactive vertical PopoverMenu root.
POPOVER_MENU_TYPEAHEAD_TIMEOUT
Inactivity interval after which the next printable key starts a fresh search.
SELECT_SCROLL_ARROW_INTERVAL
How often a hovered select scroll arrow advances the option list.
SELECT_TYPEAHEAD_TIMEOUT
Select typeahead expires when the next key arrives after this interval; no timer is scheduled.
SPELLING_MENU_ID_PREFIX
Element-ID namespace for the generated spelling menu.
SPELL_CHECK_SETTLE_DELAY
Delay after the last accepted edit before one settled spell check runs.
TABLE_COLUMN_RESIZE_STEP
Logical pixels one keyboard step moves a focused column-resize handle.

Traits§

Action
A typed command that can be bound independently from the element that handles it.
AnimationExt
GPUI-shaped extension methods for applying declaration-time animation values.
AssetSource
Synchronous source of immutable application assets.
EventEmitter
Associates an entity state type with one typed event it is allowed to emit.
Global
Marker trait for a type stored once in application-global state.
Interpolate
A value supporting linear interpolation and extrapolation.
IntoElement
Converts common values into an Element for .child(...) and .children(...).
SpellCheckProvider
A replaceable dictionary, grammar, and substitution service.
SpringTarget
A value that can be targeted by a one-dimensional spring.
View
A retained application view. It is only rendered after explicit invalidation or OS damage.

Functions§

anchor_placement
Compose a side and a cross-axis alignment into one AnchorPlacement.
avatar
Create an unstyled avatar root.
bounce
button
Create a semantic, keyboard-focusable button container.
calendar
Create an unstyled semantic month-grid root.
calendar_key_bindings
Contextual bindings used by Calendar::key_with.
canvas
Create a web-like custom paint surface. The callback runs only when the view repaints.
checkbox
Create an unstyled controlled checkbox root.
checkbox_group
Create an unstyled semantic checkbox-group root.
clear_spell_check_provider
Remove an application-supplied checker and restore the platform default.
combobox_key_bindings
Contextual bindings for editable constrained comboboxes and free-form autocompletes.
container_query
Create a CSS-like container query whose contents are declared from its assigned size.
custom_shader
Create a retained rectangle painted by validated application WGSL.
date_field
Create an unstyled empty date-field root.
date_field_key_bindings
Contextual bindings used by DateFieldSegment::key_with.
default_text_checking
The application-wide text checking policy.
div
Create a container element.
drawer_popup
Create an unstyled drawer sheet root.
ease_in_out
ease_out_quint
find_bar_key_bindings
Contextual keyboard behavior for a mounted find bar.
font
Construct a complete font configuration from a family name or generic FontFamily.
form
Create a semantic form container.
grammar_highlight_style
The run style projected onto grammar problems.
has_spell_check_provider
Whether an application installed its own checker.
img
Create an image element with intrinsic sizing and object-fit: contain behavior.
is_application_packaged
Whether this process is running from an installed application bundle.
is_template_image_path
Whether path uses Apple’s template-image filename convention.
linear
linear_color_stop
linear_gradient
menubar
Create an unstyled semantic menubar root.
menubar_key_bindings
Contextual bindings used by MenubarItem::key_with.
meter
Create an unstyled meter root.
misspelling_highlight_style
The run style projected onto misspelled words.
navigation_menu
Create an unstyled navigation-menu landmark root.
navigation_menu_key_bindings
Contextual bindings used by NavigationMenuEntry::key_with.
number_field
Create an unstyled controlled number-field input.
number_field_root
Create an unstyled number-field root.
otp_field
Create an unstyled OTP-field root.
otp_field_key_bindings
Contextual bindings used by OtpField::slot_with.
overlay
Create a viewport-level element painted on the overlay plane.
path
Create a retained vector path element with intrinsic sizing and inherited text color.
picker_key_bindings
Default contextual bindings for PickerState::element.
popover_menu_horizontal_key_bindings
Contextual keyboard behavior for an open horizontal menu, Base UI’s Root orientation.
popover_menu_key_bindings
Contextual keyboard behavior for an open popover menu.
preview_card_trigger
Create an unstyled preview-card trigger root.
progress
Create an unstyled determinate progress root.
pulsating_between
quadratic
radio
Create an unstyled controlled radio root.
radio_group
Create an unstyled semantic radio-group root.
run
Run one window with the default application and window configuration.
scroll_area_viewport
Create an unstyled scroll-area viewport.
select_key_bindings
Contextual bindings for the standalone non-editable crate::SelectState.
separator
Create an unstyled semantic separator root.
set_default_text_checking
Replace the application-wide text checking policy inherited by every text input.
set_grammar_highlight_style
Replace the run style used for grammar problems. Pass None to restore the green default.
set_misspelling_highlight_style
Replace the run style used for misspelled words.
set_shared_spell_check_provider
Install an already shared checker.
set_spell_check_provider
Install an application-supplied checker for this application thread.
show_definition_for
Show the platform dictionary popover for one bounded string.
slider
Create an unstyled controlled single-thumb slider root.
slider_key_bindings
Contextual bindings used by Slider::key_with and SliderThumb::key_with.
spell_check_provider
The checker used by text inputs: the installed provider, otherwise the platform default.
spelling_menu_items
Build the standard right-click spelling entries for one flagged word.
splitter_key_bindings
Contextual bindings used by SplitterHandle::key_with.
styled_text
Construct a retained styled-text element for use with .child(...).
styled_text_area
Create a controlled, multiline text area with bounded byte-range text styles.
styled_text_input
Create a controlled, single-line input with bounded byte-range text styles.
submit_button
Create a button that validates and submits its nearest ancestor form.
svg
Create a monochrome SVG element with intrinsic sizing and inherited text color.
switch
Create an unstyled controlled switch root.
table_key_bindings
Contextual bindings used by TableState::element.
text
Create a text element. Strings are owned through Arc<str> and cheap to retain.
text_area
Create a controlled, multiline text area with web-style soft wrapping.
text_input
Create a controlled, single-line text input.
time_field
Create an unstyled empty time-field root.
time_field_key_bindings
Contextual bindings used by TimeFieldSegment::key_with.
toast_viewport
Create an unstyled toast-viewport root.
toggle
Create an unstyled controlled toggle-button root.
toggle_group_key_bindings
Contextual bindings used by ToggleGroupEntry::key_with.
toolbar
Create an unstyled semantic toolbar root.
toolbar_key_bindings
Contextual bindings used by ToolbarEntry::key_with.
tree_key_bindings
Contextual bindings used by TreeState::element.
undo_key_bindings
The conventional application bindings for Undo and Redo.
word_range_at
The word range containing or immediately preceding offset.

Type Aliases§

App
Live application context supplied after native launch and to application callbacks.
ComboboxPopoverLayout
Structural geometry for the constrained combobox’s separate native suggestion surface.
DroppedText
Plain text delivered by an inbound native drag.
DroppedUrl
An absolute URL delivered by an inbound native drag.
FileIconResponse
Future-like result of an operating-system file-icon lookup.
MessageBoxResponseFuture
A pending native message-box answer.
NotificationPermissionResponse
Future returned by a notification authorization status query or explicit request.
PathPromptResponse
Future returned by a native open panel.
SavePathResponse
Future returned by a native save panel.
ShellResponse
Future returned after the operating system accepts or rejects one shell integration request.