FileSystemDock

package
v0.0.0-...-d9f4d4e Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2025 License: MIT Imports: 25 Imported by: 0

Documentation

Overview

Package FileSystemDock provides methods for working with FileSystemDock object instances.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Advanced

type Advanced = class

Advanced exposes a 1:1 low-level instance of the class, undocumented, for those who know what they are doing.

type Any

type Any interface {
	gd.IsClass
	AsFileSystemDock() Instance
}

type Instance

type Instance [1]gdclass.FileSystemDock

This class is available only in [EditorPlugin]s and can't be instantiated. You can access it using [method EditorInterface.get_file_system_dock]. While [FileSystemDock] doesn't expose any methods for file manipulation, it can listen for various file-related signals.

var Nil Instance

Nil is a nil/null instance of the class. Equivalent to the zero value.

func New

func New() Instance

func (Instance) AddResourceTooltipPlugin

func (self Instance) AddResourceTooltipPlugin(plugin [1]gdclass.EditorResourceTooltipPlugin)

Registers a new [EditorResourceTooltipPlugin].

func (Instance) AsBoxContainer

func (self Instance) AsBoxContainer() BoxContainer.Instance

func (Instance) AsCanvasItem

func (self Instance) AsCanvasItem() CanvasItem.Instance

func (Instance) AsContainer

func (self Instance) AsContainer() Container.Instance

func (Instance) AsControl

func (self Instance) AsControl() Control.Instance

func (Instance) AsFileSystemDock

func (self Instance) AsFileSystemDock() Instance

func (Instance) AsNode

func (self Instance) AsNode() Node.Instance

func (Instance) AsObject

func (self Instance) AsObject() [1]gd.Object

func (Instance) AsVBoxContainer

func (self Instance) AsVBoxContainer() VBoxContainer.Instance

func (Instance) NavigateToPath

func (self Instance) NavigateToPath(path string)

Sets the given [param path] as currently selected, ensuring that the selected file/directory is visible.

func (Instance) OnDisplayModeChanged

func (self Instance) OnDisplayModeChanged(cb func())

func (Instance) OnFileRemoved

func (self Instance) OnFileRemoved(cb func(file string))

func (Instance) OnFilesMoved

func (self Instance) OnFilesMoved(cb func(old_file string, new_file string))

func (Instance) OnFolderColorChanged

func (self Instance) OnFolderColorChanged(cb func())

func (Instance) OnFolderMoved

func (self Instance) OnFolderMoved(cb func(old_folder string, new_folder string))

func (Instance) OnFolderRemoved

func (self Instance) OnFolderRemoved(cb func(folder string))

func (Instance) OnInherit

func (self Instance) OnInherit(cb func(file string))

func (Instance) OnInstantiate

func (self Instance) OnInstantiate(cb func(files []string))

func (Instance) OnResourceRemoved

func (self Instance) OnResourceRemoved(cb func(resource [1]gdclass.Resource))

func (Instance) RemoveResourceTooltipPlugin

func (self Instance) RemoveResourceTooltipPlugin(plugin [1]gdclass.EditorResourceTooltipPlugin)

Removes an [EditorResourceTooltipPlugin]. Fails if the plugin wasn't previously added.

func (*Instance) UnsafePointer

func (self *Instance) UnsafePointer() unsafe.Pointer

func (Instance) Virtual

func (self Instance) Virtual(name string) reflect.Value

Jump to

Keyboard shortcuts

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