images

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Images

type Images struct {
	*tview.Box
	// contains filtered or unexported fields
}

Images implements the images primitive.

func NewImages

func NewImages() *Images

NewImages returns images page view.

func (*Images) ClearData

func (img *Images) ClearData()

ClearData clears table data.

func (*Images) Draw

func (img *Images) Draw(screen tcell.Screen)

Draw draws this primitive onto the screen.

func (*Images) Focus

func (img *Images) Focus(delegate func(p tview.Primitive))

Focus is called when this primitive receives focus.

func (*Images) GetTitle

func (img *Images) GetTitle() string

GetTitle returns primitive title.

func (*Images) HasFocus

func (img *Images) HasFocus() bool

HasFocus returns whether or not this primitive has focus.

func (*Images) HideAllDialogs added in v0.3.0

func (img *Images) HideAllDialogs()

HideAllDialogs hides all sub dialogs.

func (*Images) InputHandler

func (img *Images) InputHandler() func(event *tcell.EventKey, setFocus func(p tview.Primitive))

InputHandler returns the handler for this primitive.

func (*Images) SetFastRefreshChannel added in v0.3.1

func (img *Images) SetFastRefreshChannel(refresh chan bool)

SetFastRefreshChannel sets channel for fastRefresh func.

func (*Images) SubDialogHasFocus added in v0.2.0

func (img *Images) SubDialogHasFocus() bool

SubDialogHasFocus returns whether or not sub dialog primitive has focus.

func (*Images) UpdateData

func (img *Images) UpdateData()

UpdateData retrieves images list data.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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