morph 0.1.0
Asynchronous bridge between GUI thread and business models
Loading...
Searching...
No Matches
morph::forms::SectionGroup< Title, Sections > Struct Template Reference

An unordered set of Sections sharing one screen. More...

#include <sections.hpp>

Public Types

using sections = std::tuple<Sections...>
 Tuple of this group's Section<...> types.

Static Public Member Functions

static constexpr std::string_view title () noexcept
 The group's display title.

Detailed Description

template<morph::forms::FixedString Title, typename... Sections>
struct morph::forms::SectionGroup< Title, Sections >

An unordered set of Sections sharing one screen.

Template Parameters
TitleHuman title for the whole group.
SectionsOne or more Section<Action, Title, Binds...> types.

Definition at line 62 of file sections.hpp.

Member Typedef Documentation

◆ sections

template<morph::forms::FixedString Title, typename... Sections>
using morph::forms::SectionGroup< Title, Sections >::sections = std::tuple<Sections...>

Tuple of this group's Section<...> types.

Definition at line 64 of file sections.hpp.

Member Function Documentation

◆ title()

template<morph::forms::FixedString Title, typename... Sections>
constexpr std::string_view morph::forms::SectionGroup< Title, Sections >::title ( )
inlinestaticnodiscardconstexprnoexcept

The group's display title.

Returns
The declared title.

Definition at line 68 of file sections.hpp.


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