Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ArthurSonzogni/FTXUI
/ functions
Functions
1,183 in github.com/ArthurSonzogni/FTXUI
⨍
Functions
1,183
◇
Types & classes
214
↓ 849 callers
Function
text
@brief Display a piece of UTF8 encoded unicode text. @ingroup dom @see ftxui::to_wstring ### Example ```cpp Element document = text("Hello world!");
src/ftxui/dom/text.cpp:211
↓ 538 callers
Method
OnEvent
src/ftxui/component/menu.cpp:665
↓ 293 callers
Function
Render
@brief Display an element on a ftxui::Screen. @ingroup dom
src/ftxui/dom/node.cpp:93
↓ 242 callers
Method
Add
@brief Add a child. @param child The child to be attached.
src/ftxui/component/component.cpp:91
↓ 189 callers
Method
ToString
Produce a std::string that can be used to print the Screen on the terminal. @note Don't forget to flush stdout. Alternatively, you can use Screen::Pri
src/ftxui/screen/screen.cpp:428
↓ 161 callers
Function
vbox
@brief A container displaying elements vertically one by one. @param children The elements in the container @return The container. @ingroup dom ####
src/ftxui/dom/vbox.cpp:96
↓ 152 callers
Method
size
src/ftxui/util/ref_test.cpp:15
↓ 150 callers
Function
hbox
@brief A container displaying elements horizontally one by one. @param children The elements in the container @return The container. #### Example ``
src/ftxui/dom/hbox.cpp:94
↓ 133 callers
Method
Render
@brief Display an element on a ftxui::Screen.
src/ftxui/dom/node.cpp:59
↓ 125 callers
Function
color
@brief Set the foreground color of an element. @param color The color of the output element. @param child The input element. @return The output elemen
src/ftxui/dom/color.cpp:81
↓ 117 callers
Function
Renderer
@brief Return a component, using |render| to render its interface. @param render The function drawing the interface. @ingroup component ### Example
src/ftxui/component/renderer.cpp:29
↓ 112 callers
Function
separator
@brief Draw a vertical or horizontal separation in between two other elements. @ingroup dom @see separator @see separatorLight @see separatorDashed @s
src/ftxui/dom/separator.cpp:136
↓ 103 callers
Function
bgcolor
@brief Set the background color of an element. @param color The color of the output element. @param child The input element. @return The output elemen
src/ftxui/dom/color.cpp:96
↓ 101 callers
Function
to_string
Convert a std::wstring into a UTF8 std::string.
src/ftxui/screen/string.cpp:1594
↓ 95 callers
Function
size
@brief Apply a constraint on the size of an element. @param direction Whether the WIDTH or the HEIGHT of the element must be constrained. @param const
src/ftxui/dom/size.cpp:89
↓ 85 callers
Method
size
src/ftxui/component/menu.cpp:439
↓ 84 callers
Method
Render
@brief Draw the component. Build a ftxui::Element to be drawn on the ftxui::Screen representing this ftxui::ComponentBase. Please override OnRender()
src/ftxui/component/component.cpp:124
↓ 83 callers
Function
cell
src/ftxui/dom/gridbox_test.cpp:24
↓ 67 callers
Function
Vertical
@brief A list of components, drawn one by one vertically and navigated vertically using up/down arrow key or 'j'/'k' keys. @param children the list of
src/ftxui/component/container.cpp:317
↓ 63 callers
Method
ActiveChild
@brief Return the currently Active child. @return the currently Active child.
src/ftxui/component/component.cpp:194
↓ 63 callers
Method
Print
src/ftxui/screen/color.cpp:64
↓ 62 callers
Method
Focused
@brief Returns if the elements if focused by the user. True when the ComponentBase is focused by the user. An element is Focused when it is with all i
src/ftxui/component/component.cpp:224
↓ 60 callers
Function
make_box
examples/component/focus.cpp:17
↓ 58 callers
Function
Button
@brief Draw a button. Execute a function when clicked. @param option Additional optional parameters. @ingroup component @see ButtonBase ### Example
src/ftxui/component/button.cpp:174
↓ 56 callers
Method
Loop
src/ftxui/component/app.cpp:1507
↓ 52 callers
Method
Active
static
src/ftxui/component/app.cpp:1503
↓ 50 callers
Function
vtext
@brief Display a piece of unicode text vertically. @ingroup dom @see ftxui::to_wstring ### Example ```cpp Element document = vtext("Hello world!");
src/ftxui/dom/text.cpp:260
↓ 49 callers
Function
Menu
@brief A list of text. The focused element is selected. @param option a structure containing all the parameters. @ingroup component ### Example ```c
src/ftxui/component/menu.cpp:505
↓ 46 callers
Function
Horizontal
@brief A list of components, drawn one by one horizontally and navigated horizontally using left/right arrow key or 'h'/'l' keys. @param children the
src/ftxui/component/container.cpp:360
↓ 45 callers
Function
GeneratorInt
src/ftxui/component/canvas_fuzzer.cpp:13
↓ 45 callers
Function
filler
@brief An element that will expand proportionally to the space left in a container. @ingroup dom
src/ftxui/dom/flex.cpp:70
↓ 37 callers
Function
window
@brief Draw window with a title and a border around the element. @param title The title of the window. @param content The element to be wrapped. @para
src/ftxui/dom/border.cpp:507
↓ 36 callers
Function
Input
@brief An input box for editing text. @param option Additional optional parameters. @ingroup component @see InputBase ### Example ```cpp auto screen
src/ftxui/component/input.cpp:590
↓ 36 callers
Function
MenuEntry
@brief A specific menu entry. They can be put into a Container::Vertical to form a menu. @param label The text drawn representing this element. @param
src/ftxui/component/menu.cpp:577
↓ 32 callers
Function
Checkbox
@brief Draw checkable element. @param option Additional optional parameters. @ingroup component @see CheckboxBase ### Example ```cpp auto screen = A
src/ftxui/component/checkbox.cpp:110
↓ 32 callers
Method
SelectAll
@brief Select all the table.
src/ftxui/dom/table.cpp:200
↓ 31 callers
Method
Border
@brief Apply a `border` around the selection. @param border The border style to apply.
src/ftxui/dom/table.cpp:436
↓ 31 callers
Function
flexbox
@brief A container displaying elements on row/columns and capable of wrapping on the next column/row when full. @param children The elements in the co
src/ftxui/dom/flexbox.cpp:252
↓ 31 callers
Function
paragraph
@brief Return an element drawing the paragraph on multiple lines. @ingroup dom @see flexbox.
src/ftxui/dom/paragraph.cpp:48
↓ 30 callers
Function
GlyphIterate
src/ftxui/screen/string.cpp:1480
↓ 30 callers
Function
Radiobox
@brief A list of element, where only one can be selected. @param option The parameters @ingroup component @see RadioboxBase ### Example ```cpp auto
src/ftxui/component/radiobox.cpp:205
↓ 30 callers
Method
Set
@brief A color option that can be animated. @param _inactive The color when the component is inactive. @param _active The color when the component is
src/ftxui/component/component_options.cpp:22
↓ 30 callers
Function
reflect
src/ftxui/dom/reflect.cpp:43
↓ 29 callers
Method
Parent
@brief Return the parent ComponentBase, or nul if any. @see Detach @see Parent
src/ftxui/component/component.cpp:59
↓ 28 callers
Function
MousePressed
src/ftxui/component/resizable_split_test.cpp:24
↓ 27 callers
Function
Interpolate
src/ftxui/dom/linear_gradient.cpp:96
↓ 26 callers
Function
BasicComponent
src/ftxui/component/resizable_split_test.cpp:20
↓ 26 callers
Function
gridbox
namespace @brief A container displaying a grid of elements. @param lines A list of lines, each line being a list of elements. @return The container.
src/ftxui/dom/gridbox.cpp:178
↓ 26 callers
Function
unpack
include/ftxui/dom/take_any_args.hpp:22
↓ 22 callers
Method
Contain
@return whether (x,y) is contained inside the box.
src/ftxui/screen/box.cpp:42
↓ 21 callers
Function
canvas
@brief Produce an element from a Canvas, or a reference to a Canvas. NOLINTNEXTLINE
src/ftxui/dom/canvas.cpp:900
↓ 20 callers
Method
DrawText
@brief Draw a piece of text. @param x the x coordinate of the text. @param y the y coordinate of the text. @param value the text to draw.
src/ftxui/dom/canvas.cpp:792
↓ 20 callers
Function
GeneratorByte
src/ftxui/component/color_fuzzer.cpp:14
↓ 20 callers
Function
MousePressed
src/ftxui/component/slider_test.cpp:22
↓ 19 callers
Function
Focusable
src/ftxui/component/container_test.cpp:13
↓ 19 callers
Function
HoverEvent
src/ftxui/component/hoverable_test.cpp:19
↓ 19 callers
Function
SetColorSupport
@brief Override terminal color support in case auto-detection fails @ingroup dom
src/ftxui/screen/terminal.cpp:314
↓ 19 callers
Function
run
(cmd: List[str], cwd: Path | None = None, check: bool = True)
tools/build_translations.py:217
↓ 18 callers
Function
Make
src/ftxui/component/component_test.cpp:13
↓ 17 callers
Method
ChildCount
@brief Returns the number of children.
src/ftxui/component/component.cpp:70
↓ 17 callers
Function
GeneratorInt
src/ftxui/component/component_fuzzer.cpp:44
↓ 17 callers
Function
Slider
@brief An horizontal slider. @param label The name of the slider. @param value The current value of the slider. @param min The minimum value. @param m
src/ftxui/component/slider.cpp:257
↓ 17 callers
Function
string_width
Return how many cells the UTF8 encoded string |input| is taking when printed. Control characters are not taking any space, combining characters are mo
src/ftxui/screen/string.cpp:1337
↓ 16 callers
Method
ResetPosition
@brief Return a string to be printed in order to reset the cursor position to the beginning of the screen. ```cpp std::string reset_position; while(t
src/ftxui/screen/screen.cpp:504
↓ 16 callers
Function
gauge
@brief Draw a high definition progress bar. @param progress The proportion of the area to be filled. Belong to [0,1]. @ingroup dom ### Example A gau
src/ftxui/dom/gauge.cpp:303
↓ 15 callers
Function
Collapsible
@brief A collapsible component. It displays a checkbox with an arrow. Once activated, the child is displayed. @param label The label of the checkbox.
src/ftxui/component/collapsible.cpp:33
↓ 15 callers
Method
PostEvent
src/ftxui/component/app.cpp:1534
↓ 15 callers
Method
RunOnce
src/ftxui/component/app.cpp:811
↓ 15 callers
Function
rotate
src/ftxui/dom/vbox_test.cpp:18
↓ 14 callers
Method
DrawPointLine
@brief Draw a line made of braille dots. @param x1 the x coordinate of the first dot. @param y1 the y coordinate of the first dot. @param x2 the x coo
src/ftxui/dom/canvas.cpp:198
↓ 14 callers
Function
Toggle
@brief An horizontal list of elements. The user can navigate through them. @param entries The list of selectable entries to display. @param selected R
src/ftxui/component/menu.cpp:547
↓ 14 callers
Function
Utf8ToGlyphs
src/ftxui/screen/string.cpp:1387
↓ 13 callers
Function
GlyphCount
src/ftxui/screen/string.cpp:1535
↓ 13 callers
Function
ResizableSplit
@brief A split in between two components. @param options all the parameters. ### Example ```cpp auto left = Renderer([] { return text("Left") | cent
src/ftxui/component/resizable_split.cpp:170
↓ 13 callers
Method
SelectColumn
@brief Select a column of the table. @param index The index of the column to select. @note You can use negative index to select from the end.
src/ftxui/dom/table.cpp:153
↓ 12 callers
Method
ExitLoopClosure
src/ftxui/component/app.cpp:1516
↓ 12 callers
Function
LoremIpsum
examples/component/selection.cpp:15
↓ 12 callers
Function
to_wstring
Convert a UTF8 std::string into a std::wstring.
src/ftxui/screen/string.cpp:1666
↓ 11 callers
Function
EatCodePoint
From UTF8 encoded string |input|, eat in between 1 and 4 byte representing one codepoint. Put the codepoint into |ucs|. Start at |start| and update |e
src/ftxui/screen/string.cpp:1175
↓ 11 callers
Method
Install
src/ftxui/component/app.cpp:572
↓ 11 callers
Method
SelectRow
@brief Select a row of the table. @param index The index of the row to select. @note You can use negative index to select from the end.
src/ftxui/dom/table.cpp:138
↓ 11 callers
Function
Utf8ToWordBreakProperty
src/ftxui/screen/string.cpp:1563
↓ 11 callers
Function
separatorDouble
@brief Draw a vertical or horizontal separation in between two other elements, using the DOUBLE style. @ingroup dom @see separator @see separatorLight
src/ftxui/dom/separator.cpp:322
↓ 10 callers
Function
GlyphNext
src/ftxui/screen/string.cpp:1454
↓ 10 callers
Function
Hoverable
@brief Wrap a component. Gives the ability to know if it is hovered by the mouse. @param component The wrapped component. @param hover The value to re
src/ftxui/component/hoverable.cpp:33
↓ 10 callers
Function
MouseReleased
src/ftxui/component/resizable_split_test.cpp:36
↓ 10 callers
Function
PrintHorizontalFlexboxList
src/ftxui/dom/scroll_indicator_test.cpp:288
↓ 10 callers
Function
PrintVerticalList
src/ftxui/dom/scroll_indicator_test.cpp:41
↓ 10 callers
Method
Separator
@brief Draw some separator lines in the selection. @param border The border style to apply.
src/ftxui/dom/table.cpp:466
↓ 10 callers
Function
TestSignal
src/ftxui/component/app_test.cpp:73
↓ 10 callers
Method
Uninstall
src/ftxui/component/app.cpp:716
↓ 10 callers
Function
Window
examples/component/menu_multiple.cpp:17
↓ 9 callers
Function
CatchEvent
@brief Return a component, using |on_event| to catch events. This function must returns true when the event has been handled, false otherwise. @param
src/ftxui/component/catch_event.cpp:54
↓ 9 callers
Function
Compute
src/ftxui/dom/box_helper.cpp:74
↓ 9 callers
Function
Dropdown
@brief A dropdown menu. @ingroup component @param entries The list of entries to display. @param selected The index of the selected entry.
src/ftxui/component/dropdown.cpp:22
↓ 9 callers
Function
Empty
examples/component/collapsible.cpp:28
↓ 9 callers
Function
GeneratorString
src/ftxui/component/component_fuzzer.cpp:25
↓ 9 callers
Function
GlyphPrevious
src/ftxui/screen/string.cpp:1429
↓ 9 callers
Method
Post
src/ftxui/component/app.cpp:1520
↓ 9 callers
Function
PrintHorizontalList
src/ftxui/dom/scroll_indicator_test.cpp:48
next →
1–100 of 1,183, ranked by callers