popup

package
v0.0.0-...-e270a8f Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Kind

type Kind int
const (
	POPUP_ERROR Kind = iota
	POPUP_WARNING
	POPUP_SUCCESS
)

type Manager

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

func New

func New(onShowPopup ShowPopupWidgetCallback) *Manager

func (*Manager) Page

func (ppm *Manager) Page() tview.Primitive

func (*Manager) Setup

func (ppm *Manager) Setup() *tview.Flex

func (*Manager) ShowPopup

func (ppm *Manager) ShowPopup(kind Kind, text string)

type ShowPopupWidgetCallback

type ShowPopupWidgetCallback func(tview.Primitive)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳