mirror of
https://github.com/rivo/tview.git
synced 2026-04-26 21:35:54 +03:00
[GH-ISSUE #443] Demo code for menu type code #319
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tview#319
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @richardltc on GitHub (May 8, 2020).
Original GitHub issue: https://github.com/rivo/tview/issues/443
Hi,
I am trying to build on the grid demo, by adding different entries to the menu section, but an not getting how I can do that.
Any pointers would be very much appreciated.
Thank you in advance.
Richard
@gnojus commented on GitHub (May 14, 2020):
Hi,
general guidelines should be covered in package documentation: grid.AddItem.
If you need more specific information, you should explain further what you want to achieve, then we may be able to help you.
@richardltc commented on GitHub (May 15, 2020):
Hi,
Thanks for replying.
So, I am starting a new project off, and am using the code example from the existing demo project "grid", but I can't work out how I can add "menu entries" to the left side section called "menu"?
Any pointers would be great.
Thanks in advance.
Richard
@gnojus commented on GitHub (May 15, 2020):
The rectangle "menu" is not actually a menu, it's just a
TextViewwith text 'menu'. I'm not sure what you mean byif you want a menu in that tile, you will need to use something else, e. g. a
List. Anyway, here is the demo code with the list:@rivo commented on GitHub (Sep 15, 2020):
Please let us know if this helped you so I can close this issue.