MCPcopy Create free account

hub / github.com/ArthurSonzogni/FTXUI / functions

Functions1,183 in github.com/ArthurSonzogni/FTXUI

↓ 849 callersFunctiontext
@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 callersMethodOnEvent
src/ftxui/component/menu.cpp:665
↓ 293 callersFunctionRender
@brief Display an element on a ftxui::Screen. @ingroup dom
src/ftxui/dom/node.cpp:93
↓ 242 callersMethodAdd
@brief Add a child. @param child The child to be attached.
src/ftxui/component/component.cpp:91
↓ 189 callersMethodToString
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 callersFunctionvbox
@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 callersMethodsize
src/ftxui/util/ref_test.cpp:15
↓ 150 callersFunctionhbox
@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 callersMethodRender
@brief Display an element on a ftxui::Screen.
src/ftxui/dom/node.cpp:59
↓ 125 callersFunctioncolor
@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 callersFunctionRenderer
@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 callersFunctionseparator
@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 callersFunctionbgcolor
@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 callersFunctionto_string
Convert a std::wstring into a UTF8 std::string.
src/ftxui/screen/string.cpp:1594
↓ 95 callersFunctionsize
@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 callersMethodsize
src/ftxui/component/menu.cpp:439
↓ 84 callersMethodRender
@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 callersFunctioncell
src/ftxui/dom/gridbox_test.cpp:24
↓ 67 callersFunctionVertical
@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 callersMethodActiveChild
@brief Return the currently Active child. @return the currently Active child.
src/ftxui/component/component.cpp:194
↓ 63 callersMethodPrint
src/ftxui/screen/color.cpp:64
↓ 62 callersMethodFocused
@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 callersFunctionmake_box
examples/component/focus.cpp:17
↓ 58 callersFunctionButton
@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 callersMethodLoop
src/ftxui/component/app.cpp:1507
↓ 52 callersMethodActive
static
src/ftxui/component/app.cpp:1503
↓ 50 callersFunctionvtext
@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 callersFunctionMenu
@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 callersFunctionHorizontal
@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 callersFunctionGeneratorInt
src/ftxui/component/canvas_fuzzer.cpp:13
↓ 45 callersFunctionfiller
@brief An element that will expand proportionally to the space left in a container. @ingroup dom
src/ftxui/dom/flex.cpp:70
↓ 37 callersFunctionwindow
@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 callersFunctionInput
@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 callersFunctionMenuEntry
@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 callersFunctionCheckbox
@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 callersMethodSelectAll
@brief Select all the table.
src/ftxui/dom/table.cpp:200
↓ 31 callersMethodBorder
@brief Apply a `border` around the selection. @param border The border style to apply.
src/ftxui/dom/table.cpp:436
↓ 31 callersFunctionflexbox
@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 callersFunctionparagraph
@brief Return an element drawing the paragraph on multiple lines. @ingroup dom @see flexbox.
src/ftxui/dom/paragraph.cpp:48
↓ 30 callersFunctionGlyphIterate
src/ftxui/screen/string.cpp:1480
↓ 30 callersFunctionRadiobox
@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 callersMethodSet
@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 callersFunctionreflect
src/ftxui/dom/reflect.cpp:43
↓ 29 callersMethodParent
@brief Return the parent ComponentBase, or nul if any. @see Detach @see Parent
src/ftxui/component/component.cpp:59
↓ 28 callersFunctionMousePressed
src/ftxui/component/resizable_split_test.cpp:24
↓ 27 callersFunctionInterpolate
src/ftxui/dom/linear_gradient.cpp:96
↓ 26 callersFunctionBasicComponent
src/ftxui/component/resizable_split_test.cpp:20
↓ 26 callersFunctiongridbox
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 callersFunctionunpack
include/ftxui/dom/take_any_args.hpp:22
↓ 22 callersMethodContain
@return whether (x,y) is contained inside the box.
src/ftxui/screen/box.cpp:42
↓ 21 callersFunctioncanvas
@brief Produce an element from a Canvas, or a reference to a Canvas. NOLINTNEXTLINE
src/ftxui/dom/canvas.cpp:900
↓ 20 callersMethodDrawText
@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 callersFunctionGeneratorByte
src/ftxui/component/color_fuzzer.cpp:14
↓ 20 callersFunctionMousePressed
src/ftxui/component/slider_test.cpp:22
↓ 19 callersFunctionFocusable
src/ftxui/component/container_test.cpp:13
↓ 19 callersFunctionHoverEvent
src/ftxui/component/hoverable_test.cpp:19
↓ 19 callersFunctionSetColorSupport
@brief Override terminal color support in case auto-detection fails @ingroup dom
src/ftxui/screen/terminal.cpp:314
↓ 19 callersFunctionrun
(cmd: List[str], cwd: Path | None = None, check: bool = True)
tools/build_translations.py:217
↓ 18 callersFunctionMake
src/ftxui/component/component_test.cpp:13
↓ 17 callersMethodChildCount
@brief Returns the number of children.
src/ftxui/component/component.cpp:70
↓ 17 callersFunctionGeneratorInt
src/ftxui/component/component_fuzzer.cpp:44
↓ 17 callersFunctionSlider
@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 callersFunctionstring_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 callersMethodResetPosition
@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 callersFunctiongauge
@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 callersFunctionCollapsible
@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 callersMethodPostEvent
src/ftxui/component/app.cpp:1534
↓ 15 callersMethodRunOnce
src/ftxui/component/app.cpp:811
↓ 15 callersFunctionrotate
src/ftxui/dom/vbox_test.cpp:18
↓ 14 callersMethodDrawPointLine
@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 callersFunctionToggle
@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 callersFunctionUtf8ToGlyphs
src/ftxui/screen/string.cpp:1387
↓ 13 callersFunctionGlyphCount
src/ftxui/screen/string.cpp:1535
↓ 13 callersFunctionResizableSplit
@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 callersMethodSelectColumn
@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 callersMethodExitLoopClosure
src/ftxui/component/app.cpp:1516
↓ 12 callersFunctionLoremIpsum
examples/component/selection.cpp:15
↓ 12 callersFunctionto_wstring
Convert a UTF8 std::string into a std::wstring.
src/ftxui/screen/string.cpp:1666
↓ 11 callersFunctionEatCodePoint
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 callersMethodInstall
src/ftxui/component/app.cpp:572
↓ 11 callersMethodSelectRow
@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 callersFunctionUtf8ToWordBreakProperty
src/ftxui/screen/string.cpp:1563
↓ 11 callersFunctionseparatorDouble
@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 callersFunctionGlyphNext
src/ftxui/screen/string.cpp:1454
↓ 10 callersFunctionHoverable
@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 callersFunctionMouseReleased
src/ftxui/component/resizable_split_test.cpp:36
↓ 10 callersFunctionPrintHorizontalFlexboxList
src/ftxui/dom/scroll_indicator_test.cpp:288
↓ 10 callersFunctionPrintVerticalList
src/ftxui/dom/scroll_indicator_test.cpp:41
↓ 10 callersMethodSeparator
@brief Draw some separator lines in the selection. @param border The border style to apply.
src/ftxui/dom/table.cpp:466
↓ 10 callersFunctionTestSignal
src/ftxui/component/app_test.cpp:73
↓ 10 callersMethodUninstall
src/ftxui/component/app.cpp:716
↓ 10 callersFunctionWindow
examples/component/menu_multiple.cpp:17
↓ 9 callersFunctionCatchEvent
@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 callersFunctionCompute
src/ftxui/dom/box_helper.cpp:74
↓ 9 callersFunctionDropdown
@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 callersFunctionEmpty
examples/component/collapsible.cpp:28
↓ 9 callersFunctionGeneratorString
src/ftxui/component/component_fuzzer.cpp:25
↓ 9 callersFunctionGlyphPrevious
src/ftxui/screen/string.cpp:1429
↓ 9 callersMethodPost
src/ftxui/component/app.cpp:1520
↓ 9 callersFunctionPrintHorizontalList
src/ftxui/dom/scroll_indicator_test.cpp:48
next →1–100 of 1,183, ranked by callers