[GH-ISSUE #372] Text or List in a Box #276

Closed
opened 2026-03-04 01:03:32 +03:00 by kerem · 2 comments
Owner

Originally created by @abitrolly on GitHub (Nov 28, 2019).
Original GitHub issue: https://github.com/rivo/tview/issues/372

Now that I followed the first example and created an app with a Box, how do I actually add content to that Box?

Originally created by @abitrolly on GitHub (Nov 28, 2019). Original GitHub issue: https://github.com/rivo/tview/issues/372 Now that I followed the first example and created an app with a Box, how do I actually add content to that Box?
kerem closed this issue 2026-03-04 01:03:32 +03:00
Author
Owner

@rivo commented on GitHub (Nov 28, 2019):

Unless you only want to draw a box, Box is just the superclass for all the other primitives. For texts or lists, check out TextView or List.

<!-- gh-comment-id:559374274 --> @rivo commented on GitHub (Nov 28, 2019): Unless you only want to draw a box, `Box` is just the superclass for all the other primitives. For texts or lists, check out `TextView` or `List`.
Author
Owner

@abitrolly commented on GitHub (Nov 28, 2019):

@rivo can https://github.com/rivo/tview/wiki/Box be updated to mention this info?

<!-- gh-comment-id:559393038 --> @abitrolly commented on GitHub (Nov 28, 2019): @rivo can https://github.com/rivo/tview/wiki/Box be updated to mention this info?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/tview#276
No description provided.