focus

package
v0.0.0-...-6c48755 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFocusManager

func NewFocusManager(root commander.Widget) *manager

Types

type Focusable

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

func NewFocusable

func NewFocusable() *Focusable

func (*Focusable) IsFocused

func (f *Focusable) IsFocused() bool

func (*Focusable) IsVisible

func (f *Focusable) IsVisible() bool

func (*Focusable) OnBlur

func (f *Focusable) OnBlur()

func (*Focusable) OnFocus

func (f *Focusable) OnFocus()

func (*Focusable) OnHide

func (f *Focusable) OnHide()

func (*Focusable) OnShow

func (f *Focusable) OnShow()

Jump to

Keyboard shortcuts

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