mirror of
https://github.com/rivo/tview.git
synced 2024-11-15 06:12:46 +00:00
Merge branch 'master' of github.com:rivo/tview
This commit is contained in:
commit
c6236f4421
5
box.go
5
box.go
@ -226,6 +226,11 @@ func (b *Box) SetTitle(title string) *Box {
|
|||||||
return b
|
return b
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// GetTitle returns the box's current title.
|
||||||
|
func (b *Box) GetTitle() string {
|
||||||
|
return b.title
|
||||||
|
}
|
||||||
|
|
||||||
// SetTitleColor sets the box's title color.
|
// SetTitleColor sets the box's title color.
|
||||||
func (b *Box) SetTitleColor(color tcell.Color) *Box {
|
func (b *Box) SetTitleColor(color tcell.Color) *Box {
|
||||||
b.titleColor = color
|
b.titleColor = color
|
||||||
|
Loading…
Reference in New Issue
Block a user