ftxui::ConstStringListRef
cpp
#include <ftxui/util/ref.hpp>An adapter. Reference a list of strings.
Summary
| Symbol | Description |
|---|---|
ConstStringListRef | |
size | |
operator[] |
Public Member Functions
ConstStringListRef
cpp
ConstStringListRef(const std::vector< std::string > * ref);ConstStringListRef
cpp
ConstStringListRef(const std::vector< std::wstring > * ref);size
cpp
size_t size() const;Examples: component/button_in_frame, component/canvas_animated, component/checkbox, component/checkbox_in_frame, component/flexbox_gallery, component/focus, component/gallery, component/homescreen, component/menu_entries, component/menu_in_frame, component/modal_dialog, component/print_key_press (+9 more)
operator[]
cpp
std::string operator[](size_t i) const;