Skip to content
You are viewing documentation for v6.1.6. Switch to latest (main).

ftxui::WindowRenderState ​

cpp
#include <ftxui/component/component_options.hpp>

Summary ​

SymbolDescription
innerThe element wrapped inside this window.
titleThe title of the window.
activeWhether the window is the active one.
dragWhether the window is being dragged.
resizeWhether the window is being resized.
hover_leftWhether the resizeable left side is hovered.
hover_rightWhether the resizeable right side is hovered.
hover_topWhether the resizeable top side is hovered.
hover_downWhether the resizeable down side is hovered.

Public Attributes ​

inner ​

cpp
Element inner;

The element wrapped inside this window.

title ​

cpp
const std::string & title;

The title of the window.

active ​

cpp
bool active = false;

Whether the window is the active one.

drag ​

cpp
bool drag = false;

Whether the window is being dragged.

resize ​

cpp
bool resize = false;

Whether the window is being resized.

hover_left ​

cpp
bool hover_left = false;

Whether the resizeable left side is hovered.

hover_right ​

cpp
bool hover_right = false;

Whether the resizeable right side is hovered.

hover_top ​

cpp
bool hover_top = false;

Whether the resizeable top side is hovered.

hover_down ​

cpp
bool hover_down = false;

Whether the resizeable down side is hovered.