explorer

package
v0.0.0-...-bb53fb3 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2018 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Explorer

type Explorer struct {
	// contains filtered or unexported fields
}

func ExplorerNew

func ExplorerNew() (*Explorer, error)

func (*Explorer) GetModel

func (self *Explorer) GetModel() *gtk.TreeStore

func (*Explorer) GetWidget

func (self *Explorer) GetWidget() *gtk.Box

func (*Explorer) SetColumns

func (self *Explorer) SetColumns(icon_column, name_column, isdir_column int) error

func (*Explorer) SetControlls

func (self *Explorer) SetControlls(
	can_new_file, can_new_directory,
	can_move, can_copy, can_delete bool,
) error

func (*Explorer) SetCopyFunction

func (self *Explorer) SetCopyFunction(
	fn func(selected_items []*SelectedForOperationItem) error,
)

func (*Explorer) SetCutFunction

func (self *Explorer) SetCutFunction(
	fn func(selected_items []*SelectedForOperationItem) error,
)

func (*Explorer) SetDeleteFunction

func (self *Explorer) SetDeleteFunction(
	fn func(selected_items []*SelectedForOperationItem) error,
)

func (*Explorer) SetMkDirFunction

func (self *Explorer) SetMkDirFunction(
	fn func(target *SelectedForOperationItem) error,
)

func (*Explorer) SetModel

func (self *Explorer) SetModel(m *gtk.TreeStore) error

func (*Explorer) SetPasteFunction

func (self *Explorer) SetPasteFunction(
	fn func(target *SelectedForOperationItem) error,
)

type SelectedForOperationItem

type SelectedForOperationItem struct {
	Path  string
	IsDir bool
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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