Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FilePicker ¶
FilePicker ...
func NewFilePicker ¶
func NewFilePicker(rootDir string) *FilePicker
NewFilePicker is a specialized modal to pick a file
func (*FilePicker) SetCancelFunc ¶
func (p *FilePicker) SetCancelFunc(handler func()) *FilePicker
SetCancelFunc set handler to be called after user cancels file picker
func (*FilePicker) SetDoneFunc ¶
func (p *FilePicker) SetDoneFunc(handler func(selected *os.File) error) *FilePicker
SetDoneFunc set handler to be called after user selects a file
Click to show internal directories.
Click to hide internal directories.