ftxui::WindowOptions
cpp
#include <ftxui/component/component_options.hpp>Summary
| Symbol | Description |
|---|---|
inner | |
title | < The component wrapped by this window. |
left | < The title displayed by this window. |
top | < The left side position of the window. |
width | < The top side position of the window. |
height | < The width of the window. |
resize_left | < The height of the window. |
resize_right | < Can the left side be resized? |
resize_top | < Can the right side be resized? |
resize_down | < Can the top side be resized? |
render | < Can the down side be resized? |
Public Attributes
inner
cpp
Component inner;title
cpp
ConstStringRef title = "";< The component wrapped by this window.
left
cpp
Ref< int > left = 0;< The title displayed by this window.
top
cpp
Ref< int > top = 0;< The left side position of the window.
width
cpp
Ref< int > width = 20;< The top side position of the window.
height
cpp
Ref< int > height = 10;< The width of the window.
resize_left
cpp
Ref< bool > resize_left = true;< The height of the window.
resize_right
cpp
Ref< bool > resize_right = true;< Can the left side be resized?
resize_top
cpp
Ref< bool > resize_top = true;< Can the right side be resized?
resize_down
cpp
Ref< bool > resize_down = true;< Can the top side be resized?
render
cpp
std::function< Element(const WindowRenderState &)> render;< Can the down side be resized?
An optional function to customize how the window looks like: