Inherits: HBoxContainer > BoxContainer > Container > Control > CanvasItem > Node > Object
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.
type | property | default value |
---|---|---|
String | file_dialog_filter | "" |
bool | is_removable | False |
return type | method signature |
---|---|
null | set_string_variable(StringVariable resource) |
Default | "" |
Filters for the File Explorer window.
Default | False |
Setter | _set_is_removable |
Option to turn on/off the remove field button.
Sets the StringVariable this field will be attached to and populates the LineEdit with its value.