screen

package
v0.0.0-...-839ffb1 Latest Latest
Warning

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

Go to latest
Published: May 5, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MainMenuScreenID        orvyn.ScreenID = "mainMenuScreen"
	ListDemoScreenID        orvyn.ScreenID = "listDemoScreen"
	InputWidgetDemoScreenID orvyn.ScreenID = "inputWidgetDemoScreen"
	ProgressDemoScreenID    orvyn.ScreenID = "progressScreen"
)
View Source
const IDMainMenu orvyn.ScreenID = "mainmenu"

Variables

This section is empty.

Functions

This section is empty.

Types

type InputWidgetDemo

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

func NewInputWidgetDemo

func NewInputWidgetDemo() *InputWidgetDemo

func (*InputWidgetDemo) OnEnter

func (s *InputWidgetDemo) OnEnter(a any) tea.Cmd

func (*InputWidgetDemo) OnExit

func (s *InputWidgetDemo) OnExit() any

func (*InputWidgetDemo) Render

func (s *InputWidgetDemo) Render() orvyn.Layout

func (*InputWidgetDemo) Update

func (s *InputWidgetDemo) Update(msg tea.Msg) tea.Cmd

type ListDemo

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

func NewListDemo

func NewListDemo() *ListDemo

func (*ListDemo) OnEnter

func (s *ListDemo) OnEnter(a any) tea.Cmd

func (*ListDemo) OnExit

func (s *ListDemo) OnExit() any

func (*ListDemo) Render

func (s *ListDemo) Render() orvyn.Layout

func (*ListDemo) Update

func (s *ListDemo) Update(msg tea.Msg) tea.Cmd
type MainMenu struct {
	// contains filtered or unexported fields
}

func NewMainMenu

func NewMainMenu() *MainMenu
func (m *MainMenu) OnEnter(_ any) tea.Cmd
func (m *MainMenu) OnExit() any
func (m *MainMenu) Render() orvyn.Layout
func (m *MainMenu) Update(msg tea.Msg) tea.Cmd

type ProgressDemo

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

func NewProgressDemo

func NewProgressDemo() *ProgressDemo

func (*ProgressDemo) OnEnter

func (p *ProgressDemo) OnEnter(i any) tea.Cmd

func (*ProgressDemo) OnExit

func (p *ProgressDemo) OnExit() any

func (*ProgressDemo) Render

func (p *ProgressDemo) Render() orvyn.Layout

func (*ProgressDemo) Update

func (p *ProgressDemo) Update(msg tea.Msg) tea.Cmd

Jump to

Keyboard shortcuts

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