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

Sparse native dialog geometry/input options, merged per leaf. More...

#include <ui_control_context.hpp>

Public Attributes

std::optional< DialogMode > mode {}
 MODAL or NON_MODAL input policy.
std::optional< DialogPlacement > placement {}
 CENTER/BELOW_START/ABOVE_START positioning.
ControlDialogSizeSettings maximumPanelSize {}
 Independent positive panel caps.
std::optional< std::int32_t > viewportMargin {}
 Nonnegative viewport inset in cells.
std::optional< std::int32_t > anchorGap {}
 Nonnegative distance from the body anchor.
std::optional< bool > closeOnEscape {}
 Existing managed cancellation policy.
ControlDialogFrameSettings frame {}
 Mandatory one-cell opaque panel border.
ControlDialogCloseSettings closeButton {}
 Opt-in top-frame close affordance.

Detailed Description

Sparse native dialog geometry/input options, merged per leaf.


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