Documentation ¶
Index ¶
- func Center(p tview.Primitive, rowProportion, colProportion int) *tview.Flex
- func NewActionModal(text string, actions []ModalActionPair) *tview.Modal
- func NewErrorModal(ctrl ModalControl) *tview.Modal
- func NewWaitModal() *tview.Modal
- func Space(direction int, ps ...tview.Primitive) *tview.Flex
- type Commander
- type CommanderController
- type Connector
- type ConnectorController
- type Document
- type Filters
- type FiltersController
- type FocusChain
- type ModalActionPair
- type ModalControl
- type ModalPage
- type OpenFile
- type OpenFileController
- type Publish
- type PublishControl
- type PublishHistory
- type PublishHistoryController
- type RendererSelector
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewActionModal ¶
func NewActionModal(text string, actions []ModalActionPair) *tview.Modal
func NewErrorModal ¶
func NewErrorModal(ctrl ModalControl) *tview.Modal
func NewWaitModal ¶ added in v0.0.4
Types ¶
type Commander ¶
func NewCommander ¶
func NewCommander(ctrl CommanderController) *Commander
func (*Commander) SetConnectionStatus ¶
func (c *Commander) SetConnectionStatus(s network.ConnectionStatus)
func (*Commander) SetDocumentStore ¶
func (c *Commander) SetDocumentStore(documents *model.DocumentStore)
type CommanderController ¶
type Connector ¶
func NewConnector ¶
func NewConnector(ctrl ConnectorController) *Connector
type ConnectorController ¶
type Document ¶
func NewDocumentView ¶
func NewDocumentView() *Document
func (*Document) SetDocument ¶
func (*Document) SetRenderer ¶
type Filters ¶
func NewFilters ¶
func NewFilters(ctrl FiltersController) *Filters
func (*Filters) SetSubscriptionFilters ¶
func (f *Filters) SetSubscriptionFilters(filters *model.SubscriptionFilters)
type FiltersController ¶
type FocusChain ¶
type FocusChain struct {
// contains filtered or unexported fields
}
func NewFocusChain ¶
func NewFocusChain(items ...tview.Primitive) *FocusChain
func (*FocusChain) Add ¶
func (c *FocusChain) Add(items ...tview.Primitive)
func (*FocusChain) Next ¶
func (c *FocusChain) Next() tview.Primitive
func (*FocusChain) Prev ¶
func (c *FocusChain) Prev() tview.Primitive
func (*FocusChain) Reset ¶
func (c *FocusChain) Reset() tview.Primitive
type ModalActionPair ¶
type ModalActionPair struct { Name string Func func() }
type ModalControl ¶ added in v0.0.4
type ModalControl interface {
Cancel()
}
type ModalPage ¶
func NewModalPage ¶
func NewModalPage() *ModalPage
type OpenFile ¶
func NewOpenFile ¶
func NewOpenFile(ctrl OpenFileController) *OpenFile
func (*OpenFile) SetOnError ¶
func (*OpenFile) SetOnFileSelected ¶
type OpenFileController ¶
type Publish ¶
func NewPublish ¶
func NewPublish(ctrl PublishControl) *Publish
type PublishControl ¶
type PublishHistory ¶
func NewPublishHistory ¶
func NewPublishHistory(ctrl PublishHistoryController, documents *model.DocumentStore) *PublishHistory
func (*PublishHistory) Refresh ¶
func (h *PublishHistory) Refresh()
type RendererSelector ¶
type RendererSelector struct { *widget.RadioButtons // contains filtered or unexported fields }
func NewDocumentRenderer ¶
func NewDocumentRenderer() *RendererSelector
func (*RendererSelector) SetRenderers ¶
func (s *RendererSelector) SetRenderers(renderers []model.Renderer) *RendererSelector
func (*RendererSelector) SetSelectedFunc ¶
func (s *RendererSelector) SetSelectedFunc(handler func(renderer model.Renderer)) *RendererSelector
Click to show internal directories.
Click to hide internal directories.