MCPcopy Index your code

hub / github.com/rivo/tview / types & classes

Types & classes50 in github.com/rivo/tview

StructApplication
Application represents the top node of an application. It is not strictly required to use this class as none of the other classes depend on it. Howev
application.go:72
StructBox
Box implements the Primitive interface with an empty background and optional elements such as a border and a title. Box itself does not hold any conte
box.go:16
StructButton
Button is labeled box that triggers an action when selected. See https://github.com/rivo/tview/wiki/Button for an example.
button.go:10
StructCheckbox
Checkbox implements a simple box for boolean values which can be checked and unchecked. See https://github.com/rivo/tview/wiki/Checkbox for an exampl
checkbox.go:11
StructDropDown
DropDown implements a selection widget whose options become visible in a drop-down list when activated. See https://github.com/rivo/tview/wiki/DropDo
dropdown.go:20
StructFlex
Flex is a basic implementation of the Flexbox layout. The contained primitives are arranged horizontally or vertically. The way they are distributed a
flex.go:33
StructForm
Form allows you to combine multiple one-line form elements into a vertical or horizontal layout. Form elements include types such as InputField or Che
form.go:60
InterfaceFormItem
FormItem is the interface all form items must implement to be able to be included in a form.
form.go:22
StructFrame
Frame is a wrapper which adds space around another primitive. In addition, the top area (header) and the bottom area (footer) may also contain text.
frame.go:19
StructGrid
Grid is an implementation of a grid-based layout. It works by defining the size of the rows and columns, then placing primitives into the grid. Some
grid.go:31
StructImage
Image implements a widget that displays one image. The original image (specified with [Image.SetImage]) is resized according to the specified size (se
image.go:63
StructInputField
InputField is a one-line box into which the user can enter text. Use [InputField.SetAcceptanceFunc] to accept or reject input, [InputField.SetChangedF
inputfield.go:78
StructList
List displays rows of items, each of which can be selected. List items can be shown as a single line or as two lines. They can be selected by pressing
list.go:41
StructModal
Modal is a centered message window used to inform the user or prompt them for an immediate decision. It needs to have at least one button (added via [
modal.go:12
TypeAliasMouseAction
MouseAction indicates one of the actions the mouse is logically doing.
application.go:24
StructPages
Pages is a container for other primitives laid out on top of each other, overlapping or not. It is often used as the application's root primitive. It
pages.go:20
InterfacePrimitive
Primitive is the top-most interface for all graphical primitives.
primitive.go:6
StructRadioButtons
RadioButtons implements a simple primitive for radio button selections.
demos/primitive/main.go:12
FuncTypeSlide
Slide is a function which returns the slide's main primitive and its title. It receives a "nextSlide" function which can be called to advance the pres
demos/presentation/main.go:26
StructTable
Table visualizes two-dimensional data consisting of rows and columns. Each Table cell is defined via [Table.SetCell] by the [TableCell] type. They can
table.go:463
StructTableCell
TableCell represents one cell inside a Table. You can instantiate this type directly but all colors (background and text) will be set to their default
table.go:13
InterfaceTableContent
TableContent defines a Table's data. You may replace a Table's default implementation with your own using the Table.SetContent() function. This will a
table.go:234
StructTableContentReadOnly
TableContentReadOnly is an empty struct which implements the write operations of the TableContent interface. None of the implemented functions do anyt
table.go:283
StructTableData
demos/table/virtualtable/main.go:10
StructTextArea
TextArea implements a simple text editor for multi-line text. Multi-color text is not supported. Word-wrapping is enabled by default but can be turned
textarea.go:192
StructTextView
TextView is a component to display read-only text. While the text to be displayed can be changed or appended to, there is no functionality that allows
textview.go:136
StructTextViewWriter
TextViewWriter is a writer that can be used to write to and clear a TextView in batches, i.e. multiple writes with the lock only being acquired once.
textview.go:28
StructTheme
Theme defines the colors used when primitives are initialized.
styles.go:6
StructTreeNode
TreeNode represents one node in a tree view.
treeview.go:19
StructTreeView
TreeView displays tree structures. A tree consists of nodes (TreeNode objects) where each node has zero or more child nodes and exactly one parent nod
treeview.go:299
Structansi
ansi is a io.Writer which translates ANSI escape codes into tview color tags.
ansi.go:21
StructcellInfo
Color the cell backgrounds. To avoid undesirable artefacts, we combine the drawing of a cell by background color, selected cells last.
table.go:1289
Structcompany
demos/inputfield/autocompleteasync/main.go:14
StructdropDownOption
dropDownOption is one option that can be selected in a drop-down primitive.
dropdown.go:11
StructflexItem
flexItem holds layout options for one item.
flex.go:20
StructframeText
frameText holds information about a line of text shown in the frame.
frame.go:8
StructgridItem
gridItem represents one primitive and its possible position on a grid.
grid.go:10
StructlistItem
listItem represents one item in a List.
list.go:11
Structnode
demos/presentation/treeview.go:51
Structpage
page represents one page of a Pages object.
pages.go:8
Structpixel
pixel represents a character on screen used to draw part of an image.
image.go:46
Structposition
Add one space. Calculate positions of form items.
form.go:533
StructqueuedUpdate
queuedUpdate represented the execution of f queued by Application.QueueUpdate(). If "done" is not nil, it receives exactly one element after f has exe
application.go:55
TypeAliasstepOptions
stepOptions is a bit field of options for [step]. A value of 0 results in [step] having the same behavior as uniseg.Step, i.e. no tview-related parsin
strings.go:21
StructstepState
stepState represents the current state of the parser implemented in [step].
strings.go:31
TypeAliastaAction
Types of user actions on a text area.
textarea.go:32
StructtableDefaultContent
tableDefaultContent implements the default TableContent interface for the Table class.
table.go:317
StructtextAreaSpan
textAreaSpan represents a range of text in a text area. The text area widget roughly follows the concept of Piece Chains outlined in http://www.catch2
textarea.go:68
StructtextAreaUndoItem
textAreaUndoItem represents an undoable edit to the text area. It describes the two spans wrapping a text change.
textarea.go:85
StructtextViewLine
textViewLine contains information about a line displayed in the text view.
textview.go:16