FileSystemDock

package
v0.0.0-...-e10d1cd Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2025 License: MIT Imports: 30 Imported by: 0

Documentation

Overview

This class is available only in EditorPlugins and can't be instantiated. You can access it using EditorInterface.GetFileSystemDock.

While FileSystemDock doesn't expose any methods for file manipulation, it can listen for various file-related signals.

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 Extension

type Extension[T gdclass.Interface] struct{ gdclass.Extension[T, Instance] }

Extension can be embedded in a new struct to create an extension of this class. T should be the type that is embedding this Extension

func (*Extension[T]) AsBoxContainer

func (self *Extension[T]) AsBoxContainer() BoxContainer.Instance

func (*Extension[T]) AsCanvasItem

func (self *Extension[T]) AsCanvasItem() CanvasItem.Instance

func (*Extension[T]) AsContainer

func (self *Extension[T]) AsContainer() Container.Instance

func (*Extension[T]) AsControl

func (self *Extension[T]) AsControl() Control.Instance

func (*Extension[T]) AsFileSystemDock

func (self *Extension[T]) AsFileSystemDock() Instance

func (*Extension[T]) AsNode

func (self *Extension[T]) AsNode() Node.Instance

func (*Extension[T]) AsObject

func (self *Extension[T]) AsObject() [1]gd.Object

func (*Extension[T]) AsVBoxContainer

func (self *Extension[T]) AsVBoxContainer() VBoxContainer.Instance

type ID

type ID Object.ID

ID is a typed object ID (reference) to an instance of this class, use it to store references to objects with unknown lifetimes, as an ID will not panic on use if the underlying object has been destroyed.

func (ID) Instance

func (id ID) Instance() (Instance, bool)

type Instance

type Instance [1]gdclass.FileSystemDock

Instance of the class with convieniently typed arguments and results.

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 EditorResourceTooltipPlugin.Instance)

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) ID

func (self Instance) ID() ID

func (Instance) NavigateToPath

func (self Instance) NavigateToPath(path string)

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

func (Instance) OnDisplayModeChanged

func (self Instance) OnDisplayModeChanged(cb func(), flags ...Signal.Flags)

func (Instance) OnFileRemoved

func (self Instance) OnFileRemoved(cb func(file string), flags ...Signal.Flags)

func (Instance) OnFilesMoved

func (self Instance) OnFilesMoved(cb func(old_file string, new_file string), flags ...Signal.Flags)

func (Instance) OnFolderColorChanged

func (self Instance) OnFolderColorChanged(cb func(), flags ...Signal.Flags)

func (Instance) OnFolderMoved

func (self Instance) OnFolderMoved(cb func(old_folder string, new_folder string), flags ...Signal.Flags)

func (Instance) OnFolderRemoved

func (self Instance) OnFolderRemoved(cb func(folder string), flags ...Signal.Flags)

func (Instance) OnInherit

func (self Instance) OnInherit(cb func(file string), flags ...Signal.Flags)

func (Instance) OnInstantiate

func (self Instance) OnInstantiate(cb func(files []string), flags ...Signal.Flags)

func (Instance) OnResourceRemoved

func (self Instance) OnResourceRemoved(cb func(resource Resource.Instance), flags ...Signal.Flags)

func (Instance) RemoveResourceTooltipPlugin

func (self Instance) RemoveResourceTooltipPlugin(plugin EditorResourceTooltipPlugin.Instance)

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

func (*Instance) SetObject

func (self *Instance) SetObject(obj [1]gd.Object) bool

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