Documentation ¶
Index ¶
- type IPrimitiveCloser
- type IScreenDrawToggle
- type PagePaintToggle
- type PrimitiveNoCloser
- func (self *PrimitiveNoCloser) Blur()
- func (self *PrimitiveNoCloser) Close() error
- func (self *PrimitiveNoCloser) Draw(screen tcell.Screen)
- func (self *PrimitiveNoCloser) Focus(delegate func(p tview.Primitive))
- func (self *PrimitiveNoCloser) GetRect() (int, int, int, int)
- func (self *PrimitiveNoCloser) HasFocus() bool
- func (self *PrimitiveNoCloser) InputHandler() func(event *tcell.EventKey, setFocus func(p tview.Primitive))
- func (self *PrimitiveNoCloser) MouseHandler() ...
- func (self *PrimitiveNoCloser) Name() string
- func (self *PrimitiveNoCloser) OrderNumber() int
- func (self *PrimitiveNoCloser) SetRect(x, y, width, height int)
- func (self *PrimitiveNoCloser) UpdateContent() error
- type PrimitiveWithCloser
- func (self *PrimitiveWithCloser) Blur()
- func (self *PrimitiveWithCloser) Close() error
- func (self *PrimitiveWithCloser) Draw(screen tcell.Screen)
- func (self *PrimitiveWithCloser) Focus(delegate func(p tview.Primitive))
- func (self *PrimitiveWithCloser) GetRect() (int, int, int, int)
- func (self *PrimitiveWithCloser) HasFocus() bool
- func (self *PrimitiveWithCloser) InputHandler() func(event *tcell.EventKey, setFocus func(p tview.Primitive))
- func (self *PrimitiveWithCloser) MouseHandler() ...
- func (self *PrimitiveWithCloser) Name() string
- func (self *PrimitiveWithCloser) OrderNumber() int
- func (self *PrimitiveWithCloser) SetRect(x, y, width, height int)
- func (self *PrimitiveWithCloser) UpdateContent() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IPrimitiveCloser ¶
type IPrimitiveCloser interface { tview.Primitive io.Closer UpdateContent() error Name() string OrderNumber() int }
func NewPrimitiveNoCloser ¶
func NewPrimitiveNoCloser(slideOrderNumber int, slideName string, primitive tview.Primitive) IPrimitiveCloser
func NewPrimitiveWithCloser ¶
func NewPrimitiveWithCloser( slideOrderNumber int, slideName string, primitive tview.Primitive, closers []IPrimitiveCloser, ) IPrimitiveCloser
type IScreenDrawToggle ¶
type IScreenDrawToggle interface {
Toggle(bool)
}
type PagePaintToggle ¶
type PagePaintToggle struct {
// contains filtered or unexported fields
}
func NewPagePaintToggle ¶
func NewPagePaintToggle(pages *tview.Pages) *PagePaintToggle
func (*PagePaintToggle) SetChangedFunc ¶
func (self *PagePaintToggle) SetChangedFunc()
func (*PagePaintToggle) SetCurrent ¶
func (self *PagePaintToggle) SetCurrent(page string, item tview.Primitive)
type PrimitiveNoCloser ¶
type PrimitiveNoCloser struct {
// contains filtered or unexported fields
}
func (*PrimitiveNoCloser) Blur ¶
func (self *PrimitiveNoCloser) Blur()
func (*PrimitiveNoCloser) Close ¶
func (self *PrimitiveNoCloser) Close() error
func (*PrimitiveNoCloser) Draw ¶
func (self *PrimitiveNoCloser) Draw(screen tcell.Screen)
func (*PrimitiveNoCloser) Focus ¶
func (self *PrimitiveNoCloser) Focus(delegate func(p tview.Primitive))
func (*PrimitiveNoCloser) HasFocus ¶
func (self *PrimitiveNoCloser) HasFocus() bool
func (*PrimitiveNoCloser) InputHandler ¶
func (self *PrimitiveNoCloser) InputHandler() func(event *tcell.EventKey, setFocus func(p tview.Primitive))
func (*PrimitiveNoCloser) MouseHandler ¶
func (self *PrimitiveNoCloser) MouseHandler() func(action tview.MouseAction, event *tcell.EventMouse, setFocus func(p tview.Primitive)) (consumed bool, capture tview.Primitive)
func (*PrimitiveNoCloser) Name ¶
func (self *PrimitiveNoCloser) Name() string
func (*PrimitiveNoCloser) OrderNumber ¶
func (self *PrimitiveNoCloser) OrderNumber() int
func (*PrimitiveNoCloser) SetRect ¶
func (self *PrimitiveNoCloser) SetRect(x, y, width, height int)
func (*PrimitiveNoCloser) UpdateContent ¶
func (self *PrimitiveNoCloser) UpdateContent() error
type PrimitiveWithCloser ¶
type PrimitiveWithCloser struct {
// contains filtered or unexported fields
}
func (*PrimitiveWithCloser) Blur ¶
func (self *PrimitiveWithCloser) Blur()
func (*PrimitiveWithCloser) Close ¶
func (self *PrimitiveWithCloser) Close() error
func (*PrimitiveWithCloser) Draw ¶
func (self *PrimitiveWithCloser) Draw(screen tcell.Screen)
func (*PrimitiveWithCloser) Focus ¶
func (self *PrimitiveWithCloser) Focus(delegate func(p tview.Primitive))
func (*PrimitiveWithCloser) GetRect ¶
func (self *PrimitiveWithCloser) GetRect() (int, int, int, int)
func (*PrimitiveWithCloser) HasFocus ¶
func (self *PrimitiveWithCloser) HasFocus() bool
func (*PrimitiveWithCloser) InputHandler ¶
func (self *PrimitiveWithCloser) InputHandler() func(event *tcell.EventKey, setFocus func(p tview.Primitive))
func (*PrimitiveWithCloser) MouseHandler ¶
func (self *PrimitiveWithCloser) MouseHandler() func(action tview.MouseAction, event *tcell.EventMouse, setFocus func(p tview.Primitive)) (consumed bool, capture tview.Primitive)
func (*PrimitiveWithCloser) Name ¶
func (self *PrimitiveWithCloser) Name() string
func (*PrimitiveWithCloser) OrderNumber ¶
func (self *PrimitiveWithCloser) OrderNumber() int
func (*PrimitiveWithCloser) SetRect ¶
func (self *PrimitiveWithCloser) SetRect(x, y, width, height int)
func (*PrimitiveWithCloser) UpdateContent ¶
func (self *PrimitiveWithCloser) UpdateContent() error
Click to show internal directories.
Click to hide internal directories.