alertView

package
v0.7.9 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2017 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlertManager

type AlertManager struct {
	AlertSize int
	// contains filtered or unexported fields
}

func NewAlertManager

func NewAlertManager(masterUI masterUIInterface.MasterUIInterface, commonData *dataCommon.CommonData) *AlertManager

func (*AlertManager) CheckForAlerts

func (am *AlertManager) CheckForAlerts(g *gocui.Gui) error

func (*AlertManager) ClearUserMessage

func (am *AlertManager) ClearUserMessage(g *gocui.Gui) error

func (*AlertManager) ShowUserMessage

func (am *AlertManager) ShowUserMessage(g *gocui.Gui, message string) error

TODO: Have message levels which will colorize differently

type AlertWidget

type AlertWidget struct {
	AlertSize int
	// contains filtered or unexported fields
}

func NewAlertWidget

func NewAlertWidget(masterUI masterUIInterface.MasterUIInterface, name string, height int, commonData *dataCommon.CommonData) *AlertWidget

func (*AlertWidget) Layout

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

func (*AlertWidget) Name

func (w *AlertWidget) Name() string

func (*AlertWidget) SetHeight

func (w *AlertWidget) SetHeight(height int)

func (*AlertWidget) SetMessage

func (w *AlertWidget) SetMessage(msg string)

Jump to

Keyboard shortcuts

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