[PR #1111] feat: add GetSelectedFunc method to Button #1127

Open
opened 2026-03-04 01:09:35 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/rivo/tview/pull/1111
Author: @rhariady
Created: 8/23/2025
Status: 🔄 Open

Base: masterHead: master


📝 Commits (1)

  • cb4eb12 feat: add GetSelectedFunc method to Button

📊 Changes

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

View changed files

📝 button.go (+6 -0)

📄 Description

This add a simple getter method in Button to return func that has previously set by [Button.SetSelectedFunc].

Amazing library BTW, love it ❤️


🔄 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/1111 **Author:** [@rhariady](https://github.com/rhariady) **Created:** 8/23/2025 **Status:** 🔄 Open **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`cb4eb12`](https://github.com/rivo/tview/commit/cb4eb126e6d6e39a81cfc24a5e6942a78484dcbc) feat: add GetSelectedFunc method to Button ### 📊 Changes **1 file changed** (+6 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `button.go` (+6 -0) </details> ### 📄 Description This add a simple getter method in Button to return func that has previously set by [Button.SetSelectedFunc]. Amazing library BTW, love it ❤️ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
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#1127
No description provided.