[PR #191] [MERGED] Add GetText() method #873

Closed
opened 2026-03-04 01:08:21 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/rivo/tview/pull/191
Author: @OriPekelman
Created: 11/23/2018
Status: Merged
Merged: 1/13/2019
Merged by: @rivo

Base: masterHead: master


📝 Commits (1)

  • f9524f5 move under setter and change to string

📊 Changes

1 file changed (+5 additions, -0 deletions)

View changed files

📝 treeview.go (+5 -0)

📄 Description

I find it useful to be able to get the nodes text in the handlers. Also seems more consistent with SetReference that has a GetReference.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/rivo/tview/pull/191 **Author:** [@OriPekelman](https://github.com/OriPekelman) **Created:** 11/23/2018 **Status:** ✅ Merged **Merged:** 1/13/2019 **Merged by:** [@rivo](https://github.com/rivo) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`f9524f5`](https://github.com/rivo/tview/commit/f9524f55ba044d436deb68e82bd77434627d6bff) move under setter and change to string ### 📊 Changes **1 file changed** (+5 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `treeview.go` (+5 -0) </details> ### 📄 Description I find it useful to be able to get the nodes text in the handlers. Also seems more consistent with SetReference that has a GetReference. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-04 01:08:21 +03:00
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#873
No description provided.