piframe-go/vendor/github.com/rivo/tview/focusable.go

9 lines
234 B
Go
Raw Normal View History

2020-08-28 19:19:36 +00:00
package tview
// Focusable provides a method which determines if a primitive has focus.
// Composed primitives may be focused based on the focused state of their
// contained primitives.
type Focusable interface {
HasFocus() bool
}