|
FTXUI 6.1.9
C++ functional terminal UI.
|
#include <table.hpp>
Public Member Functions | |
| Table () | |
| Create an empty table. | |
| Table (std::vector< std::vector< std::string > >) | |
| Create a table from a vector of vector of string. | |
| Table (std::vector< std::vector< Element > >) | |
| Create a table from a vector of vector of Element. | |
| Table (std::initializer_list< std::vector< std::string > > init) | |
| TableSelection | SelectAll () |
| Select all the table. | |
| TableSelection | SelectCell (int column, int row) |
| Select a cell of the table. | |
| TableSelection | SelectRow (int row_index) |
| Select a row of the table. | |
| TableSelection | SelectRows (int row_min, int row_max) |
| Select a range of rows of the table. | |
| TableSelection | SelectColumn (int column_index) |
| Select a column of the table. | |
| TableSelection | SelectColumns (int column_min, int column_max) |
| Select a range of columns of the table. | |
| TableSelection | SelectRectangle (int column_min, int column_max, int row_min, int row_max) |
| Select a rectangle of the table. | |
| Element | Render () |
| Render the table. | |
| Table | ( | ) |
Create an empty table.
Definition at line 48 of file src/ftxui/dom/table.cpp.
|
explicit |
Create a table from a vector of vector of string.
| input | The input data. |
Definition at line 55 of file src/ftxui/dom/table.cpp.
Create a table from a vector of vector of Element.
| input | The input elements. |
Definition at line 72 of file src/ftxui/dom/table.cpp.
| Table | ( | std::initializer_list< std::vector< std::string > > | init | ) |
Definition at line 79 of file src/ftxui/dom/table.cpp.
| TableSelection SelectAll | ( | ) |
Select all the table.
Definition at line 211 of file src/ftxui/dom/table.cpp.
| TableSelection 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. |
Definition at line 178 of file src/ftxui/dom/table.cpp.
| TableSelection SelectRow | ( | int | index | ) |
Select a row of the table.
| index | The index of the row to select. |
Definition at line 143 of file src/ftxui/dom/table.cpp.
| TableSelection 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. |
Definition at line 152 of file src/ftxui/dom/table.cpp.
| TableSelection SelectColumn | ( | int | index | ) |
Select a column of the table.
| index | The index of the column to select. |
Definition at line 160 of file src/ftxui/dom/table.cpp.
| TableSelection 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. |
Definition at line 169 of file src/ftxui/dom/table.cpp.
| TableSelection 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. |
Definition at line 189 of file src/ftxui/dom/table.cpp.
| Element Render | ( | ) |
Render the table.
Definition at line 224 of file src/ftxui/dom/table.cpp.