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

Owning finite popup entry; callbacks and leaf presentation remain in ActionSet. More...

#include <popup_menu.hpp>

Public Attributes

ui::ActionRef action
 Shared leaf identity; ignored for a submenu.
std::string caption = std::string(0, '\0')
 Owning submenu caption, literal UTF-8.
std::vector< PopupEntry > children = detail::emptyPopupEntries()
 Owned submenu entries.
std::optional< char32_t > mnemonic
 Explicit scalar; ASCII comparison ignores case.
bool submenu {}
 True for a structural branch, including an empty branch.
bool enabled {true}
 Structural branch admission; leaf admission comes from its action.
bool visible {true}
 Structural branch visibility; hidden branches consume no row.

Detailed Description

Owning finite popup entry; callbacks and leaf presentation remain in ActionSet.


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