Portals0.7.0 · dev (544a5c68c72e · 2026-11-28 UTC)
Loading...
Searching...
No Matches
portals::ui::SuggestionsConfig Struct Reference

Ordinary list/editor composition settings; search never commits or replaces editor text. More...

#include <ui_suggestions.hpp>

Public Attributes

SearchOptions search {}
 Finite worker index/query/output budgets and strategy.
VirtualListOptions options {}
 Existing list sizing/appearance; scene width policy wins.
SizePolicy policy {DEFAULT_VIEWPORT_POLICY}
 Existing layout constraints, adjustable by ordinary recipe modifiers.
Ref< Label > status
 Optional weak label; empty means no status label.
std::function< void(SearchSelection)> activated
 UI-only callback after exact-current list-focused activation.
std::function< void(SearchError)> failed
 UI-only newest provider failure; draft is preserved.
std::function< bool()> enabled
 Optional internal UI admission predicate; false cancels pending work.
std::optional< ManagedModel< SearchItem > > resultModel
 Internal scoped popup output; absent creates an ordinary model.

Detailed Description

Ordinary list/editor composition settings; search never commits or replaces editor text.


The documentation for this struct was generated from the following file: