Module textbox

Source
Expand description

Display text data.

+--------+
| frame  |
+---+----+
    |
+---+-----+
| textbox |
+---------+

Macros§

box_vec
make_table

Structs§

Builder
Builder for Textbox.
CONTROLS
FitBuilder
Builder for Fit.
WithFrameBuilder
Builder for WithFrame.

Functions§

fit_to_contents
Utility function to resize the textbox to the current contents
get_contents
Utility function to get the textbox contents
mk_table
page_down
Builtin textbox control ID ‘TextboxPageDown’
page_left
Builtin textbox control ID ‘TextboxPageLeft’
page_right
Builtin textbox control ID ‘TextboxPageRight’
page_up
Builtin textbox control ID ‘TextboxPageUp’
popup
Create a new textbox in the middle of the parent element and focus
push_line
Utility function to push a newline followed by the given string onto the textbox contents
scroll_down
Builtin textbox control ID ‘TextboxScrollDown’
scroll_left
Builtin textbox control ID ‘TextboxScrollLeft’
scroll_right
Builtin textbox control ID ‘TextboxScrollRight’
scroll_up
Builtin textbox control ID ‘TextboxScrollUp’
set_contents
Utility function to set the textbox contents to the given string

Type Aliases§

Textbox