HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
hi::v1::toolbar_tab_button_widget::attributes_type Struct Reference

Public Member Functions

 attributes_type (attributes_type const &) noexcept=default
 attributes_type (attributes_type &&) noexcept=default
attributes_type & operator= (attributes_type const &) noexcept=default
attributes_type & operator= (attributes_type &&) noexcept=default
template<toolbar_tab_button_widget_attribute... Attributes>
 attributes_type (Attributes &&...attributes) noexcept
template<size_t NumLabels>
void set_attributes () noexcept
template<size_t NumLabels, toolbar_tab_button_widget_attribute First, toolbar_tab_button_widget_attribute... Rest>
void set_attributes (First &&first, Rest &&...rest) noexcept

Data Fields

observer< label > on_label = txt("on")
 The label to show when the button is in the 'on' state.
observer< label > off_label = txt("off")
 The label to show when the button is in the 'off' state.
observer< alignment > alignment = alignment::top_center()

Field Documentation

◆ off_label

observer<label> hi::v1::toolbar_tab_button_widget::attributes_type::off_label = txt("off")

The label to show when the button is in the 'off' state.

◆ on_label

observer<label> hi::v1::toolbar_tab_button_widget::attributes_type::on_label = txt("on")

The label to show when the button is in the 'on' state.


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