runtime

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Quit

func Quit(ctx context.Context)

func WindowSetAlwaysOnTop

func WindowSetAlwaysOnTop(ctx context.Context, onTop bool)

Types

type FileRuntime

type FileRuntime struct{}

func (*FileRuntime) MkdirAll

func (f *FileRuntime) MkdirAll(path string, perm os.FileMode) error

func (*FileRuntime) ReadFile

func (f *FileRuntime) ReadFile(filename string) ([]byte, error)

func (*FileRuntime) UserHomeDir

func (f *FileRuntime) UserHomeDir() (string, error)

func (*FileRuntime) WriteFile

func (f *FileRuntime) WriteFile(filename string, data []byte, perm os.FileMode) error

type WailsRuntime

type WailsRuntime struct{}

func (*WailsRuntime) OpenFileDialog

func (w *WailsRuntime) OpenFileDialog(ctx context.Context, options runtime.OpenDialogOptions) (string, error)

func (*WailsRuntime) SaveFileDialog

func (w *WailsRuntime) SaveFileDialog(ctx context.Context, options runtime.SaveDialogOptions) (string, error)

Jump to

Keyboard shortcuts

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