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

Independent finite browse, popup and indexed-completion settings. More...

#include <ui_combo_box.hpp>

Public Attributes

LineEditConfig editor
 Normal editor modes, validation and history; protected display is rejected.
SearchOptions search {.strategy = SearchStrategy::PREFIX}
 Finite search budgets; PREFIX by default.
std::size_t pageRows {32}
 Positive browse page cap, at most256.
std::int32_t popupRows {8}
 Positive visible list height in terminal rows.
std::int32_t popupWidth {60}
 Positive maximum panel width in terminal cells.
bool searchable {true}
 DropDown popup offers a separate ordinary query editor.
std::optional< std::uint64_t > initial
 Optional source ordinal resolved asynchronously after mount.
std::function< void(SearchError)> failed
 Newest provider failure; draft and accepted value survive.
std::size_t browseScratchBytes
 Transient projection pins/range metadata; output has row/text caps.

Detailed Description

Independent finite browse, popup and indexed-completion settings.

Member Data Documentation

◆ browseScratchBytes

std::size_t portals::ui::ComboBoxConfig::browseScratchBytes
Initial value:
{8 * 1024 *
1024}

Transient projection pins/range metadata; output has row/text caps.

◆ editor

LineEditConfig portals::ui::ComboBoxConfig::editor
Initial value:
{
.options = {.limits = {4096, 4096, 4096,
8192}}}

Normal editor modes, validation and history; protected display is rejected.


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