Skip to main content

Crate ferroui_diagnostics

Crate ferroui_diagnostics 

Source
Expand description

ferroui-diagnostics

The developer tools of FerroUI, a port of the last open-source version of upstream’s developer tools (docs/porting/DEVIATIONS.md, Developer tools): a window that shows the logical and visual trees of a running application, the properties of the selected control with their value sources and priorities, the styles and setters that apply to it, its layout, the routed events as they travel, and takes screenshots. It opens on F12 in a window or an application it is attached to (DevToolsExtensions).

ⓘ
window.attach_dev_tools();

The window has the WinUI 3 theme of the port in its compact density (ferroui-themes-winui), where upstream has the Simple theme. The logical and visual trees, the tree of the routed events and the property grid of the control details are built on the TreeDataGrid of the port, where upstream has tree views and a copy of DataGrid compiled into its project (docs/porting/DEVIATIONS.md, Developer tools).

Modules§

diagnostics

Statics§

ASSEMBLY
What this crate states about itself for markup: its assembly name.

Traits§

DevToolsExtensions
Extension methods for attaching DevTools..
DevToolsTopLevelExtensions
The extension method of top levels for attaching DevTools with a key gesture (upstream has it for top levels only).

Functions§

register_types
Registers the namespaces, the types, the assembly, the embedded assets and the compiled markup of this crate (and of the crates it is built on). Cheap and idempotent.