gui

package
v0.48.0 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2026 License: Apache-2.0 Imports: 36 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

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

func NewApp

func NewApp(service appservice.Service, cfg config.Config, options AppOptions) *App

func (*App) FocusInput

func (g *App) FocusInput()

func (*App) Hide

func (g *App) Hide()

func (*App) LoadInitialEnvironment added in v0.33.0

func (g *App) LoadInitialEnvironment()

func (*App) Quit added in v0.33.0

func (g *App) Quit()

func (*App) Run

func (g *App) Run()

func (*App) Show

func (g *App) Show()

type AppOptions added in v0.33.0

type AppOptions struct {
	AppID   string
	DevMode bool
	Version string
	Voice   VoiceOptions
	FyneApp fyne.App
}

type EnvironmentLoadResult added in v0.33.0

type EnvironmentLoadResult struct {
	EnvFilePath    string
	EnvFileLoaded  bool
	EnvFileWarning error
	EnvFileError   error

	ShellEnabled  bool
	ShellLoaded   bool
	Shell         string
	ShellDuration time.Duration
	ShellError    error

	Sources map[string]string
}

func LoadEnvironment added in v0.33.0

func LoadEnvironment(cfg environmentConfig) EnvironmentLoadResult

func (EnvironmentLoadResult) SourceFor added in v0.33.0

func (r EnvironmentLoadResult) SourceFor(key string) string

type VoiceOptions added in v0.37.0

type VoiceOptions struct {
	Recorder    voice.Recorder
	Transcriber voice.Transcriber
	Schedule    func(func())
}

Jump to

Keyboard shortcuts

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