filepicker

package
v0.0.0-...-57faf36 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BoolToCInt

func BoolToCInt(b bool) (i C.int)

Types

type FilePicker

type FilePicker struct {
}

func (*FilePicker) Register

func (f *FilePicker) Register()

type Settings

type Settings struct {
	IsSave               bool   `json:"isSave"` //save or open, default to open
	Title                string `json:"title"`
	Message              string `json:"message"`
	Multiple             bool   `json:"multiple"`
	FileOnly             bool   `json:"fileOnly"`
	DirOnly              bool   `json:"dirOnly"`
	Accept               string `json:"accept"`
	AllowsOtherFileTypes bool   `json:"allowsOtherFileTypes"`
	StartLocation        string `json:"startLocation"`

	SuggestedFileName string `json:"suggestedFileName"`
	CanCreateDir      bool   `json:"canCreateDir"`
	ShowsHiddenFiles  bool   `json:"showsHiddenFiles"`
}

Jump to

Keyboard shortcuts

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