ui

package
v0.7.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 13, 2016 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const WarmUpSeconds = 60

Variables

This section is empty.

Functions

func Round

func Round(d, r time.Duration) time.Duration

Types

type FooterWidget

type FooterWidget struct {
	// contains filtered or unexported fields
}

func NewFooterWidget

func NewFooterWidget(name string, height int) *FooterWidget

func (*FooterWidget) Layout

func (w *FooterWidget) Layout(g *gocui.Gui) error

func (*FooterWidget) Name

func (w *FooterWidget) Name() string

type HeaderWidget

type HeaderWidget struct {
	// contains filtered or unexported fields
}

func NewHeaderWidget

func NewHeaderWidget(masterUI *MasterUI, name string, height int) *HeaderWidget

func (*HeaderWidget) Layout

func (w *HeaderWidget) Layout(g *gocui.Gui) error

func (*HeaderWidget) Name

func (w *HeaderWidget) Name() string

type MasterUI

type MasterUI struct {
	// contains filtered or unexported fields
}

func NewMasterUI

func NewMasterUI(cliConnection plugin.CliConnection) *MasterUI

func (*MasterUI) CliConnection

func (mui *MasterUI) CliConnection() plugin.CliConnection

func (*MasterUI) CloseView

func (mui *MasterUI) CloseView(m masterUIInterface.Manager) error

func (*MasterUI) CloseViewByName

func (mui *MasterUI) CloseViewByName(viewName string) error

func (*MasterUI) GetCurrentView

func (mui *MasterUI) GetCurrentView(g *gocui.Gui) *gocui.View

func (*MasterUI) GetRouter

func (mui *MasterUI) GetRouter() *eventrouting.EventRouter

func (*MasterUI) LayoutManager

func (mui *MasterUI) LayoutManager() masterUIInterface.LayoutManagerInterface

func (*MasterUI) RefeshNow

func (mui *MasterUI) RefeshNow()

func (*MasterUI) SetCurrentViewOnTop

func (mui *MasterUI) SetCurrentViewOnTop(g *gocui.Gui) error

func (*MasterUI) Start

func (mui *MasterUI) Start()

Directories

Path Synopsis
views

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL