Expand description
Resolve the effective GTK 4 theme through GTK itself.
The crate intentionally does not parse gtk.css. GTK themes have selectors,
imports, variables, media queries, user overrides, and version-dependent
lookup rules. probe asks GTK for the effective settings and computed
values after those layers have been applied.
Structs§
- Enum
Setting - A dynamically discovered GTK enum preference.
- GtkSettings
Snapshot - User preferences exposed by
GtkSettings. - Named
Color - A symbolic color resolved by GTK’s CSS engine.
- Native
Theme Bridge - A GTK snapshot resolved through
native-theme, ready for framework connectors. - Rgba
- An RGBA color in the sRGB color space.
- Semantic
Palette - Toolkit-neutral colors projected from GTK symbolic color roles.
- Snapshot
Validation Error - Explanation of why a theme snapshot is not safe to consume.
- Theme
Identity - Identity of the active GTK theme and display backend.
- Theme
Snapshot - A complete GTK theme probe result.
- Widget
Metrics - GTK’s preferred dimensions for a representative widget.
- Widget
Snapshot - Effective information collected for one representative control.
- Widget
State - Computed visual state for a representative GTK widget.
Enums§
- Native
Theme Bridge Error - Failure to translate a GTK snapshot into the
native-thememodel. - Probe
Error - Failure to initialize or query GTK.
Constants§
- SCHEMA_
VERSION - Version of the JSON snapshot contract.
- SEMANTIC_
COLOR_ ROLES - Stable toolkit-neutral role names shared with
native-theme-qt.
Functions§
- probe
- Resolve the current GTK 4 theme.