explorer

package module
v0.0.0-...-0ee4e2f Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2022 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileExplorer

type FileExplorer struct {
	*ui.Window

	EnableBackwardsNav bool
	OnItemClicked      func(path string)
	// contains filtered or unexported fields
}

func CreateFileExplorer

func CreateFileExplorer(x, y, w, h int, initialDir string) (*FileExplorer, error)

func (*FileExplorer) LoadDir

func (explorer *FileExplorer) LoadDir(path string) error

func (*FileExplorer) LoadZip

func (explorer *FileExplorer) LoadZip(path string) error

type FileListBox

type FileListBox struct {
	*ui.ListBox
	// contains filtered or unexported fields
}

func CreateFileListBox

func CreateFileListBox(parent ui.Control, w, h, s int) *FileListBox

func (*FileListBox) ProcessEvent

func (fileListBox *FileListBox) ProcessEvent(event ui.Event) bool

Jump to

Keyboard shortcuts

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