mirror of
https://github.com/rivo/tview.git
synced 2026-04-26 21:35:54 +03:00
[GH-ISSUE #427] Feature request: Add getters of colors / attributes for the Box #311
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tview#311
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 @bry00 on GitHub (Apr 8, 2020).
Original GitHub issue: https://github.com/rivo/tview/issues/427
It would be useful when developing custom Widgets based on Box, to have possibility to get current value of properties
borderAttributes,borderColor,backgroundColor. Currently, these are in fact, write-only properties, as there is group of "set" functions (SetBorderAttributes,SetBorderColor,SetBackgroundColor) but without their exported "get" counterparts one cannot use easily these values.It seems to be tiny but useful extension.
Something like this:
@rivo commented on GitHub (Apr 14, 2020):
I added this with the latest commit.
@bry00 commented on GitHub (Apr 28, 2020):
Super, thx.