FilePathLineEdit

Inherits: HBoxContainer > BoxContainer > Container > Control > CanvasItem > Node > Object

Description

Base class for any kind of PathLineEdit field. Receives a StringVariable, which will be responsible not only for the persistence of the data as well as sharing it with any part of the project that needs it.

In the addon there are 3 Scenes for different kind of paths that are used in the Docs Exporter tab, one for file paths in the file system, one for directories in the project, and another for directories in the file system.

Properties

type property default value
String file_dialog_filter ""
bool is_removable False

Methods

return type method signature
null set_string_variable(StringVariable resource)

Signals

  • remove_string_variable(string_variable)

Properties Descriptions

file_dialog_filter

Default ""

Filters for the File Explorer window.


is_removable

Default False
Setter _set_is_removable

Option to turn on/off the remove field button.


Method Descriptions

set_string_variable

Sets the StringVariable this field will be attached to and populates the LineEdit with its value.