Skip to main content

Crate teksilo_preview_ui

Crate teksilo_preview_ui 

Source
Expand description

GUI for Teksilo’s widget previewer.

This crate is a library. Per-application binaries (teksilo-widgets-previewer, <app>-previewer) call run_previewer from their main, linking against this crate plus teksilo-preview plus their own widget set with the preview feature enabled. Each binary’s inventory link graph determines which widgets the previewer surfaces.

Structs§

DocExportOptions
Options for export_doc_images.
DocExportReport
What the batch did, subject by subject (sorted by slug).
PreviewerArgs
The previewer’s own flags, as a clap fragment.
PreviewerOptions
Configured options for crate::run_previewer.

Enums§

SubjectOutcome
Outcome for one subject.

Functions§

export_doc_images
Render every registered subject into opts.out_dir.
print_report
Print a human-readable summary and return a process exit code (non-zero if any subject failed).
run_previewer
Launch the previewer window with the given options. Blocks until the window is closed.