Documentation ¶
Overview ¶
Package FileSystemDock provides methods for working with FileSystemDock object instances.
Index ¶
- type Advanced
- type Any
- type Instance
- func (self Instance) AddResourceTooltipPlugin(plugin [1]gdclass.EditorResourceTooltipPlugin)
- func (self Instance) AsBoxContainer() BoxContainer.Instance
- func (self Instance) AsCanvasItem() CanvasItem.Instance
- func (self Instance) AsContainer() Container.Instance
- func (self Instance) AsControl() Control.Instance
- func (self Instance) AsFileSystemDock() Instance
- func (self Instance) AsNode() Node.Instance
- func (self Instance) AsObject() [1]gd.Object
- func (self Instance) AsVBoxContainer() VBoxContainer.Instance
- func (self Instance) NavigateToPath(path string)
- func (self Instance) OnDisplayModeChanged(cb func())
- func (self Instance) OnFileRemoved(cb func(file string))
- func (self Instance) OnFilesMoved(cb func(old_file string, new_file string))
- func (self Instance) OnFolderColorChanged(cb func())
- func (self Instance) OnFolderMoved(cb func(old_folder string, new_folder string))
- func (self Instance) OnFolderRemoved(cb func(folder string))
- func (self Instance) OnInherit(cb func(file string))
- func (self Instance) OnInstantiate(cb func(files []string))
- func (self Instance) OnResourceRemoved(cb func(resource [1]gdclass.Resource))
- func (self Instance) RemoveResourceTooltipPlugin(plugin [1]gdclass.EditorResourceTooltipPlugin)
- func (self *Instance) UnsafePointer() unsafe.Pointer
- func (self Instance) Virtual(name string) reflect.Value
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 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 (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 (Instance) AsFileSystemDock ¶
func (Instance) AsVBoxContainer ¶
func (self Instance) AsVBoxContainer() VBoxContainer.Instance
func (Instance) NavigateToPath ¶
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 (Instance) OnFilesMoved ¶
func (Instance) OnFolderColorChanged ¶
func (self Instance) OnFolderColorChanged(cb func())
func (Instance) OnFolderMoved ¶
func (Instance) OnFolderRemoved ¶
func (Instance) OnInstantiate ¶
func (Instance) OnResourceRemoved ¶
func (Instance) RemoveResourceTooltipPlugin ¶
func (self Instance) RemoveResourceTooltipPlugin(plugin [1]gdclass.EditorResourceTooltipPlugin)
Removes an [EditorResourceTooltipPlugin]. Fails if the plugin wasn't previously added.