Documentation ¶
Index ¶
- func Build() MainWindow
- func ClearImageViewBackground(container walk.Container)
- func ClearWidgets(container walk.Container)
- func OpenDir(owner walk.Form, dir string) (string, error)
- func RunConfigDialog(owner walk.Form, cf *config.Config) (int, error)
- func RunCreateDirDialog(owner walk.Form, u *string) (int, error)
- type Directory
- type DirectoryTreeModel
- type FileInfo
- type FileInfoModel
- type MyMainWindow
- type MyTreeView
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Directory ¶
type Directory struct {
// contains filtered or unexported fields
}
func NewDirectory ¶
func (*Directory) ChildCount ¶
func (*Directory) ResetChildren ¶
type DirectoryTreeModel ¶
type DirectoryTreeModel struct { walk.TreeModelBase // contains filtered or unexported fields }
func NewDirectoryTreeModel ¶
func NewDirectoryTreeModel() (*DirectoryTreeModel, error)
func (*DirectoryTreeModel) LazyPopulation ¶
func (*DirectoryTreeModel) LazyPopulation() bool
func (*DirectoryTreeModel) RootCount ¶
func (m *DirectoryTreeModel) RootCount() int
type FileInfoModel ¶
type FileInfoModel struct { walk.SortedReflectTableModelBase // contains filtered or unexported fields }
func NewFileInfoModel ¶
func NewFileInfoModel() *FileInfoModel
func (*FileInfoModel) Image ¶
func (m *FileInfoModel) Image(row int) interface{}
func (*FileInfoModel) Items ¶
func (m *FileInfoModel) Items() interface{}
func (*FileInfoModel) SetDirPath ¶
func (m *FileInfoModel) SetDirPath(dirPath string) error
type MyMainWindow ¶
type MyMainWindow struct { *walk.MainWindow ImageName string DBSource map[string]int // contains filtered or unexported fields }
type MyTreeView ¶
func (*MyTreeView) AddItem ¶
func (tv *MyTreeView) AddItem(name string, parent *Directory)
func (*MyTreeView) RootChanged ¶
func (tv *MyTreeView) RootChanged(root string) error
Click to show internal directories.
Click to hide internal directories.