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

Single-use semantic Grid section; owns recipes and never mounts a placeholder Widget. More...

#include <ui_description.hpp>

Public Member Functions

 GridSection (GridSection &&other)
GridSection & operator= (GridSection &&other)
 GridSection (const GridSection &)=delete
GridSection & operator= (const GridSection &)=delete
GridSection && sticky (bool value=true) &&
GridSection && style (CellStyle value) &&
GridSection && rowStyles (GridRowStyles value) &&

Friends

struct detail::Access
template<detail::DescriptionInput... Children>
GridSection header (Children &&...)
template<detail::DescriptionInput... Children>
GridSection body (Children &&...)

Detailed Description

Single-use semantic Grid section; owns recipes and never mounts a placeholder Widget.

Constructor & Destructor Documentation

◆ GridSection()

portals::ui::GridSection::GridSection ( GridSection && other)
inline
Parameters
otherOwning source consumed into this group; checked-STL transfers may allocate.

Member Function Documentation

◆ operator=()

GridSection & portals::ui::GridSection::operator= ( GridSection && other)
inline
Parameters
otherOwning source replacing these unmounted children.
Returns
This section.

◆ rowStyles()

GridSection && portals::ui::GridSection::rowStyles ( GridRowStyles value) &&
inline
Parameters
valueOwning logical odd/even body backgrounds, below real controls.
Returns
Consuming body; row styles on header fail preflight.

◆ sticky()

GridSection && portals::ui::GridSection::sticky ( bool value = true) &&
inline
Parameters
valueWhether this header remains fixed vertically when Grid owns scrolling.
Returns
Consuming header; using sticky on body fails preflight.

◆ style()

GridSection && portals::ui::GridSection::style ( CellStyle value) &&
inline
Parameters
valueOwning region background; does not inherit into child controls.
Returns
Consuming section with this regional background.

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