ftxui::Table
table.hpp
friend friend TableSelection TableSelection ftxui::Table::TableSelection
std::vector< std::vector< Element > > std::vector<std::vector<Element> > elements_ elements_ ftxui::Table::elements_
int int input_dim_x_ input_dim_x_ ftxui::Table::input_dim_x_ = 0
int int input_dim_y_ input_dim_y_ ftxui::Table::input_dim_y_ = 0
int int dim_x_ dim_x_ ftxui::Table::dim_x_ = 0
int int dim_y_ dim_y_ ftxui::Table::dim_y_ = 0
Table
()
Table
ftxui::Table::Table

Create an empty table.

Table
(std::vector< std::vector< std::string > >)
Table
ftxui::Table::Table
std::vector< std::vector< std::string > > input

Create a table from a vector of vector of string.

input

The input data.

Table
(std::vector< std::vector< Element > >)
Table
ftxui::Table::Table
std::vector< std::vector< Element > > input

Create a table from a vector of vector of Element.

input

The input elements.

Table
(std::initializer_list< std::vector< std::string > > init)
Table
ftxui::Table::Table
std::initializer_list< std::vector< std::string > > init
TableSelection TableSelection SelectAll () SelectAll ftxui::Table::SelectAll

Select all the table.

TableSelection TableSelection SelectCell (int column, int row) SelectCell ftxui::Table::SelectCell int column int row

Select a cell of the table.

column

The column of the cell to select.

row

The row of the cell to select.

You can use negative index to select from the end.

TableSelection TableSelection SelectRow (int row_index) SelectRow ftxui::Table::SelectRow int row_index index

Select a row of the table.

index

The index of the row to select.

You can use negative index to select from the end.

TableSelection TableSelection SelectRows (int row_min, int row_max) SelectRows ftxui::Table::SelectRows int row_min int row_max

Select a range of rows of the table.

row_min

The first row to select.

row_max

The last row to select.

You can use negative index to select from the end.

TableSelection TableSelection SelectColumn (int column_index) SelectColumn ftxui::Table::SelectColumn int column_index index

Select a column of the table.

index

The index of the column to select.

You can use negative index to select from the end.

TableSelection TableSelection SelectColumns (int column_min, int column_max) SelectColumns ftxui::Table::SelectColumns int column_min int column_max

Select a range of columns of the table.

column_min

The first column to select.

column_max

The last column to select.

You can use negative index to select from the end.

TableSelection TableSelection SelectRectangle (int column_min, int column_max, int row_min, int row_max) SelectRectangle ftxui::Table::SelectRectangle int column_min int column_max int row_min int row_max

Select a rectangle of the table.

column_min

The first column to select.

column_max

The last column to select.

row_min

The first row to select.

row_max

The last row to select.

You can use negative index to select from the end.

Element Element Render () Render ftxui::Table::Render

Render the table.

The rendered table. This is an element you can draw.

void void Initialize (std::vector< std::vector< Element > >) Initialize ftxui::Table::Initialize std::vector< std::vector< Element > > input
- ftxui::Table
  dim_x_
- ftxui::Table
  dim_y_
- ftxui::Table
  elements_
- ftxui::Table
  Initialize
- ftxui::Table
  input_dim_x_
- ftxui::Table
  input_dim_y_
- ftxui::Table
  Render
- ftxui::Table
  SelectAll
- ftxui::Table
  SelectCell
- ftxui::Table
  SelectColumn
- ftxui::Table
  SelectColumns
- ftxui::Table
  SelectRectangle
- ftxui::Table
  SelectRow
- ftxui::Table
  SelectRows
- ftxui::Table
  Table
- ftxui::Table
  Table
- ftxui::Table
  Table
- ftxui::Table
  Table
- ftxui::Table
  TableSelection