Question: How to modify border title once the widget is instantiated?
miguelmota opened this issue · comments
miguel commented
How to modify border title once the widget is instantiated?
Jakub Sobon commented
Hello @miguelmota, I am assuming you are asking about the container title? You should be able to utilize the dynamic layout feature.
In short you specify an ID for the container when creating it by passing this option:
Lines 308 to 320 in 68bf056
And then you can use the container.Update function, specifying the same ID and providing any set of new options, including a new title:
termdash/container/container.go
Lines 229 to 235 in 68bf056
However if you are asking about title of a specific widget, that might be different, please let me know.