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 ¶
- type Advanced
- type Any
- type Extension
- func (self *Extension[T]) AsBoxContainer() BoxContainer.Instance
- func (self *Extension[T]) AsCanvasItem() CanvasItem.Instance
- func (self *Extension[T]) AsContainer() Container.Instance
- func (self *Extension[T]) AsControl() Control.Instance
- func (self *Extension[T]) AsFileSystemDock() Instance
- func (self *Extension[T]) AsNode() Node.Instance
- func (self *Extension[T]) AsObject() [1]gd.Object
- func (self *Extension[T]) AsVBoxContainer() VBoxContainer.Instance
- type ID
- type Instance
- func (self Instance) AddResourceTooltipPlugin(plugin EditorResourceTooltipPlugin.Instance)
- 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) ID() ID
- func (self Instance) NavigateToPath(path string)
- func (self Instance) OnDisplayModeChanged(cb func(), flags ...Signal.Flags)
- func (self Instance) OnFileRemoved(cb func(file string), flags ...Signal.Flags)
- func (self Instance) OnFilesMoved(cb func(old_file string, new_file string), flags ...Signal.Flags)
- func (self Instance) OnFolderColorChanged(cb func(), flags ...Signal.Flags)
- func (self Instance) OnFolderMoved(cb func(old_folder string, new_folder string), flags ...Signal.Flags)
- func (self Instance) OnFolderRemoved(cb func(folder string), flags ...Signal.Flags)
- func (self Instance) OnInherit(cb func(file string), flags ...Signal.Flags)
- func (self Instance) OnInstantiate(cb func(files []string), flags ...Signal.Flags)
- func (self Instance) OnResourceRemoved(cb func(resource Resource.Instance), flags ...Signal.Flags)
- func (self Instance) RemoveResourceTooltipPlugin(plugin EditorResourceTooltipPlugin.Instance)
- func (self *Instance) SetObject(obj [1]gd.Object) bool
- 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 Extension ¶
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 (*Extension[T]) AsFileSystemDock ¶
func (*Extension[T]) AsVBoxContainer ¶
func (self *Extension[T]) AsVBoxContainer() VBoxContainer.Instance
type 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.
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 (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 (Instance) AsFileSystemDock ¶
func (Instance) AsVBoxContainer ¶
func (self Instance) AsVBoxContainer() VBoxContainer.Instance
func (Instance) NavigateToPath ¶
Sets the given 'path' as currently selected, ensuring that the selected file/directory is visible.
func (Instance) OnDisplayModeChanged ¶
func (Instance) OnFileRemoved ¶
func (Instance) OnFilesMoved ¶
func (Instance) OnFolderColorChanged ¶
func (Instance) OnFolderMoved ¶
func (Instance) OnFolderRemoved ¶
func (Instance) OnInstantiate ¶
func (Instance) OnResourceRemoved ¶
func (Instance) RemoveResourceTooltipPlugin ¶
func (self Instance) RemoveResourceTooltipPlugin(plugin EditorResourceTooltipPlugin.Instance)
Removes an EditorResourceTooltipPlugin. Fails if the plugin wasn't previously added.