TermOx
Classes | Public Member Functions | Public Attributes | List of all members
ox::Pair< Layout_t, First, Second > Struct Template Reference

Heterogeneous pair of Widgets within a Layout. More...

#include <pair.hpp>

Inheritance diagram for ox::Pair< Layout_t, First, Second >:
ox::Cycle_stack< Child > ox::Hideable< Widget_t > ox::Menu ox::Titlebar ox::Toggle_button

Classes

struct  Parameters
 

Public Member Functions

 Pair ()
 Widgets are default constructed.
 
 Pair (Parameters p)
 
 Pair (typename First::Parameters a, typename Second::Parameters b)
 Widgets are constructed with passed in First/Second::Parameters objects.
 
 Pair (std::unique_ptr< First > a, std::unique_ptr< Second > b)
 Existing Widgets are moved into the Pair.
 
template<std::size_t Index>
auto get () -> auto &
 Get child by index.
 
template<std::size_t Index>
auto get () const -> auto const &
 Get child by index.
 

Public Attributes

First & first
 
Second & second
 

Detailed Description

template<typename Layout_t, typename First, typename Second>
struct ox::Pair< Layout_t, First, Second >

Heterogeneous pair of Widgets within a Layout.


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