Documentation ¶
Overview ¶
Package modal contains modal views that are drawn on top of existing layout.
Index ¶
- type Help
- func (h *Help) Blur()
- func (h *Help) Focus(delegate func(p cview.Primitive))
- func (h *Help) GetFocusable() cview.Focusable
- func (h *Help) InputHandler() func(event *tcell.EventKey, setFocus func(p cview.Primitive))
- func (h *Help) SetDoneFunc(doneFunc func())
- func (h *Help) SetStats(stats models.Stats)
- func (h *Help) SetVisible(visible bool)
- func (h *Help) View() cview.Primitive
- type Message
- func (m *Message) Blur()
- func (m *Message) Focus(delegate func(p cview.Primitive))
- func (m *Message) InputHandler() func(event *tcell.EventKey, setFocus func(p cview.Primitive))
- func (m *Message) SetDoneFunc(doneFunc func())
- func (m *Message) SetVisible(visible bool)
- func (m *Message) View() cview.Primitive
- type Modal
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Help ¶
func (*Help) GetFocusable ¶
func (*Help) InputHandler ¶
func (*Help) SetDoneFunc ¶
func (h *Help) SetDoneFunc(doneFunc func())
func (*Help) SetVisible ¶
type Message ¶ added in v0.4.0
func NewMessage ¶ added in v0.4.0
func NewMessage() *Message
func (*Message) InputHandler ¶ added in v0.4.0
func (*Message) SetDoneFunc ¶ added in v0.4.0
func (m *Message) SetDoneFunc(doneFunc func())
func (*Message) SetVisible ¶ added in v0.4.0
Click to show internal directories.
Click to hide internal directories.