:github_url: hide .. _class_FileDialog: FileDialog ========== **Hereda:** :ref:`ConfirmationDialog` **<** :ref:`AcceptDialog` **<** :ref:`Window` **<** :ref:`Viewport` **<** :ref:`Node` **<** :ref:`Object` **Heredado por:** :ref:`EditorFileDialog` Un diálogo para seleccionar archivos o directorios en el sistema de archivos. .. rst-class:: classref-introduction-group Descripción ---------------------- **FileDialog** is a preset dialog used to choose files and directories in the filesystem. It supports filter masks. **FileDialog** automatically sets its window title according to the :ref:`file_mode`. If you want to use a custom title, disable this by setting :ref:`mode_overrides_title` to ``false``. \ **Note:** **FileDialog** is invisible by default. To make it visible, call one of the ``popup_*`` methods from :ref:`Window` on the node, such as :ref:`Window.popup_centered_clamped()`. .. rst-class:: classref-reftable-group Propiedades ---------------------- .. table:: :widths: auto +---------------------------------------------------+-------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------+ | :ref:`Access` | :ref:`access` | ``0`` | +---------------------------------------------------+-------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------+ | :ref:`String` | :ref:`current_dir` | | +---------------------------------------------------+-------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------+ | :ref:`String` | :ref:`current_file` | | +---------------------------------------------------+-------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------+ | :ref:`String` | :ref:`current_path` | | +---------------------------------------------------+-------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`deleting_enabled` | ``true`` | +---------------------------------------------------+-------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------+ | :ref:`bool` | dialog_hide_on_ok | ``false`` (overrides :ref:`AcceptDialog`) | +---------------------------------------------------+-------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------+ | :ref:`DisplayMode` | :ref:`display_mode` | ``0`` | +---------------------------------------------------+-------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`favorites_enabled` | ``true`` | +---------------------------------------------------+-------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`file_filter_toggle_enabled` | ``true`` | +---------------------------------------------------+-------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------+ | :ref:`FileMode` | :ref:`file_mode` | ``4`` | +---------------------------------------------------+-------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`file_sort_options_enabled` | ``true`` | +---------------------------------------------------+-------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------+ | :ref:`String` | :ref:`filename_filter` | ``""`` | +---------------------------------------------------+-------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------+ | :ref:`PackedStringArray` | :ref:`filters` | ``PackedStringArray()`` | +---------------------------------------------------+-------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`folder_creation_enabled` | ``true`` | +---------------------------------------------------+-------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`hidden_files_toggle_enabled` | ``true`` | +---------------------------------------------------+-------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`layout_toggle_enabled` | ``true`` | +---------------------------------------------------+-------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`mode_overrides_title` | ``true`` | +---------------------------------------------------+-------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`option_count` | ``0`` | +---------------------------------------------------+-------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`overwrite_warning_enabled` | ``true`` | +---------------------------------------------------+-------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`recent_list_enabled` | ``true`` | +---------------------------------------------------+-------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------+ | :ref:`String` | :ref:`root_subfolder` | ``""`` | +---------------------------------------------------+-------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`show_hidden_files` | ``false`` | +---------------------------------------------------+-------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------+ | :ref:`Vector2i` | size | ``Vector2i(640, 360)`` (overrides :ref:`Window`) | +---------------------------------------------------+-------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------+ | :ref:`String` | title | ``"Save a File"`` (overrides :ref:`Window`) | +---------------------------------------------------+-------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`use_native_dialog` | ``false`` | +---------------------------------------------------+-------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------+ .. rst-class:: classref-reftable-group Métodos -------------- .. table:: :widths: auto +---------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | |void| | :ref:`add_filter`\ (\ filter\: :ref:`String`, description\: :ref:`String` = "", mime_type\: :ref:`String` = ""\ ) | +---------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | |void| | :ref:`add_option`\ (\ name\: :ref:`String`, values\: :ref:`PackedStringArray`, default_value_index\: :ref:`int`\ ) | +---------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | |void| | :ref:`clear_filename_filter`\ (\ ) | +---------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | |void| | :ref:`clear_filters`\ (\ ) | +---------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | |void| | :ref:`deselect_all`\ (\ ) | +---------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`PackedStringArray` | :ref:`get_favorite_list`\ (\ ) |static| | +---------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`LineEdit` | :ref:`get_line_edit`\ (\ ) | +---------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`get_option_default`\ (\ option\: :ref:`int`\ ) |const| | +---------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String` | :ref:`get_option_name`\ (\ option\: :ref:`int`\ ) |const| | +---------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`PackedStringArray` | :ref:`get_option_values`\ (\ option\: :ref:`int`\ ) |const| | +---------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`PackedStringArray` | :ref:`get_recent_list`\ (\ ) |static| | +---------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Dictionary` | :ref:`get_selected_options`\ (\ ) |const| | +---------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`VBoxContainer` | :ref:`get_vbox`\ (\ ) | +---------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | |void| | :ref:`invalidate`\ (\ ) | +---------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`is_customization_flag_enabled`\ (\ flag\: :ref:`Customization`\ ) |const| | +---------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | |void| | :ref:`popup_file_dialog`\ (\ ) | +---------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | |void| | :ref:`set_customization_flag_enabled`\ (\ flag\: :ref:`Customization`, enabled\: :ref:`bool`\ ) | +---------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | |void| | :ref:`set_favorite_list`\ (\ favorites\: :ref:`PackedStringArray`\ ) |static| | +---------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | |void| | :ref:`set_get_icon_callback`\ (\ callback\: :ref:`Callable`\ ) |static| | +---------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | |void| | :ref:`set_get_thumbnail_callback`\ (\ callback\: :ref:`Callable`\ ) |static| | +---------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | |void| | :ref:`set_option_default`\ (\ option\: :ref:`int`, default_value_index\: :ref:`int`\ ) | +---------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | |void| | :ref:`set_option_name`\ (\ option\: :ref:`int`, name\: :ref:`String`\ ) | +---------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | |void| | :ref:`set_option_values`\ (\ option\: :ref:`int`, values\: :ref:`PackedStringArray`\ ) | +---------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | |void| | :ref:`set_recent_list`\ (\ recents\: :ref:`PackedStringArray`\ ) |static| | +---------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ .. rst-class:: classref-reftable-group Propiedades del Tema ---------------------------------------- .. table:: :widths: auto +-----------------------------------+-----------------------------------------------------------------------------------+--------------------------+ | :ref:`Color` | :ref:`file_disabled_color` | ``Color(1, 1, 1, 0.25)`` | +-----------------------------------+-----------------------------------------------------------------------------------+--------------------------+ | :ref:`Color` | :ref:`file_icon_color` | ``Color(1, 1, 1, 1)`` | +-----------------------------------+-----------------------------------------------------------------------------------+--------------------------+ | :ref:`Color` | :ref:`folder_icon_color` | ``Color(1, 1, 1, 1)`` | +-----------------------------------+-----------------------------------------------------------------------------------+--------------------------+ | :ref:`int` | :ref:`thumbnail_size` | ``64`` | +-----------------------------------+-----------------------------------------------------------------------------------+--------------------------+ | :ref:`Texture2D` | :ref:`back_folder` | | +-----------------------------------+-----------------------------------------------------------------------------------+--------------------------+ | :ref:`Texture2D` | :ref:`create_folder` | | +-----------------------------------+-----------------------------------------------------------------------------------+--------------------------+ | :ref:`Texture2D` | :ref:`favorite` | | +-----------------------------------+-----------------------------------------------------------------------------------+--------------------------+ | :ref:`Texture2D` | :ref:`favorite_down` | | +-----------------------------------+-----------------------------------------------------------------------------------+--------------------------+ | :ref:`Texture2D` | :ref:`favorite_up` | | +-----------------------------------+-----------------------------------------------------------------------------------+--------------------------+ | :ref:`Texture2D` | :ref:`file` | | +-----------------------------------+-----------------------------------------------------------------------------------+--------------------------+ | :ref:`Texture2D` | :ref:`file_thumbnail` | | +-----------------------------------+-----------------------------------------------------------------------------------+--------------------------+ | :ref:`Texture2D` | :ref:`folder` | | +-----------------------------------+-----------------------------------------------------------------------------------+--------------------------+ | :ref:`Texture2D` | :ref:`folder_thumbnail` | | +-----------------------------------+-----------------------------------------------------------------------------------+--------------------------+ | :ref:`Texture2D` | :ref:`forward_folder` | | +-----------------------------------+-----------------------------------------------------------------------------------+--------------------------+ | :ref:`Texture2D` | :ref:`list_mode` | | +-----------------------------------+-----------------------------------------------------------------------------------+--------------------------+ | :ref:`Texture2D` | :ref:`parent_folder` | | +-----------------------------------+-----------------------------------------------------------------------------------+--------------------------+ | :ref:`Texture2D` | :ref:`reload` | | +-----------------------------------+-----------------------------------------------------------------------------------+--------------------------+ | :ref:`Texture2D` | :ref:`sort` | | +-----------------------------------+-----------------------------------------------------------------------------------+--------------------------+ | :ref:`Texture2D` | :ref:`thumbnail_mode` | | +-----------------------------------+-----------------------------------------------------------------------------------+--------------------------+ | :ref:`Texture2D` | :ref:`toggle_filename_filter` | | +-----------------------------------+-----------------------------------------------------------------------------------+--------------------------+ | :ref:`Texture2D` | :ref:`toggle_hidden` | | +-----------------------------------+-----------------------------------------------------------------------------------+--------------------------+ .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Señales -------------- .. _class_FileDialog_signal_dir_selected: .. rst-class:: classref-signal **dir_selected**\ (\ dir\: :ref:`String`\ ) :ref:`🔗` Emitida cuando el usuario selecciona un directorio. .. rst-class:: classref-item-separator ---- .. _class_FileDialog_signal_file_selected: .. rst-class:: classref-signal **file_selected**\ (\ path\: :ref:`String`\ ) :ref:`🔗` Emitida cuando el usuario selecciona un archivo haciendo doble clic en él o pulsando el botón **OK**. .. rst-class:: classref-item-separator ---- .. _class_FileDialog_signal_filename_filter_changed: .. rst-class:: classref-signal **filename_filter_changed**\ (\ filter\: :ref:`String`\ ) :ref:`🔗` Emitida cuando el filtro de nombres de archivos cambia. .. rst-class:: classref-item-separator ---- .. _class_FileDialog_signal_files_selected: .. rst-class:: classref-signal **files_selected**\ (\ paths\: :ref:`PackedStringArray`\ ) :ref:`🔗` Emitida cuando el usuario selecciona múltiples archivos. .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Enumeraciones -------------------------- .. _enum_FileDialog_FileMode: .. rst-class:: classref-enumeration enum **FileMode**: :ref:`🔗` .. _class_FileDialog_constant_FILE_MODE_OPEN_FILE: .. rst-class:: classref-enumeration-constant :ref:`FileMode` **FILE_MODE_OPEN_FILE** = ``0`` El diálogo permite seleccionar uno, y sólo un archivo. .. _class_FileDialog_constant_FILE_MODE_OPEN_FILES: .. rst-class:: classref-enumeration-constant :ref:`FileMode` **FILE_MODE_OPEN_FILES** = ``1`` El diálogo permite seleccionar varios archivos. .. _class_FileDialog_constant_FILE_MODE_OPEN_DIR: .. rst-class:: classref-enumeration-constant :ref:`FileMode` **FILE_MODE_OPEN_DIR** = ``2`` El diálogo sólo permite seleccionar un directorio, no permitiendo la selección de ningún archivo. .. _class_FileDialog_constant_FILE_MODE_OPEN_ANY: .. rst-class:: classref-enumeration-constant :ref:`FileMode` **FILE_MODE_OPEN_ANY** = ``3`` El diálogo permite seleccionar un archivo o directorio. .. _class_FileDialog_constant_FILE_MODE_SAVE_FILE: .. rst-class:: classref-enumeration-constant :ref:`FileMode` **FILE_MODE_SAVE_FILE** = ``4`` El diálogo avisará cuando exista un archivo. .. rst-class:: classref-item-separator ---- .. _enum_FileDialog_Access: .. rst-class:: classref-enumeration enum **Access**: :ref:`🔗` .. _class_FileDialog_constant_ACCESS_RESOURCES: .. rst-class:: classref-enumeration-constant :ref:`Access` **ACCESS_RESOURCES** = ``0`` El diálogo sólo permite acceder a los archivos bajo la ruta :ref:`Resource` (``res://``). .. _class_FileDialog_constant_ACCESS_USERDATA: .. rst-class:: classref-enumeration-constant :ref:`Access` **ACCESS_USERDATA** = ``1`` El diálogo sólo permite acceder a los archivos bajo la ruta de datos del usuario (``user://``). .. _class_FileDialog_constant_ACCESS_FILESYSTEM: .. rst-class:: classref-enumeration-constant :ref:`Access` **ACCESS_FILESYSTEM** = ``2`` El diálogo permite acceder a los archivos de todo el sistema de archivos. .. rst-class:: classref-item-separator ---- .. _enum_FileDialog_DisplayMode: .. rst-class:: classref-enumeration enum **DisplayMode**: :ref:`🔗` .. _class_FileDialog_constant_DISPLAY_THUMBNAILS: .. rst-class:: classref-enumeration-constant :ref:`DisplayMode` **DISPLAY_THUMBNAILS** = ``0`` El diálogo muestra los archivos como una cuadrícula de miniaturas. Usa :ref:`thumbnail_size` para ajustar su tamaño. .. _class_FileDialog_constant_DISPLAY_LIST: .. rst-class:: classref-enumeration-constant :ref:`DisplayMode` **DISPLAY_LIST** = ``1`` El diálogo muestra los archivos como una lista de nombres de archivo. .. rst-class:: classref-item-separator ---- .. _enum_FileDialog_Customization: .. rst-class:: classref-enumeration enum **Customization**: :ref:`🔗` .. _class_FileDialog_constant_CUSTOMIZATION_HIDDEN_FILES: .. rst-class:: classref-enumeration-constant :ref:`Customization` **CUSTOMIZATION_HIDDEN_FILES** = ``0`` Alterna la visibilidad del botón de favoritos y la lista de favoritos en el lado izquierdo del diálogo. Equivalente a :ref:`hidden_files_toggle_enabled`. .. _class_FileDialog_constant_CUSTOMIZATION_CREATE_FOLDER: .. rst-class:: classref-enumeration-constant :ref:`Customization` **CUSTOMIZATION_CREATE_FOLDER** = ``1`` Si está habilitado, muestra el botón para crear nuevos directorios (cuando se usa :ref:`FILE_MODE_OPEN_DIR`, :ref:`FILE_MODE_OPEN_ANY` o :ref:`FILE_MODE_SAVE_FILE`). Equivalente a :ref:`folder_creation_enabled`. .. _class_FileDialog_constant_CUSTOMIZATION_FILE_FILTER: .. rst-class:: classref-enumeration-constant :ref:`Customization` **CUSTOMIZATION_FILE_FILTER** = ``2`` Si está habilitado, muestra el botón para alternar el filtro de archivos. Equivalente a :ref:`file_filter_toggle_enabled`. .. _class_FileDialog_constant_CUSTOMIZATION_FILE_SORT: .. rst-class:: classref-enumeration-constant :ref:`Customization` **CUSTOMIZATION_FILE_SORT** = ``3`` Si está habilitado, muestra el botón de opciones para ordenar archivos. Equivalente a :ref:`file_sort_options_enabled`. .. _class_FileDialog_constant_CUSTOMIZATION_FAVORITES: .. rst-class:: classref-enumeration-constant :ref:`Customization` **CUSTOMIZATION_FAVORITES** = ``4`` Si está habilitado, muestra el botón de alternar favoritos y la lista de favoritos en el lado izquierdo del diálogo. Equivalente a :ref:`favorites_enabled`. .. _class_FileDialog_constant_CUSTOMIZATION_RECENT: .. rst-class:: classref-enumeration-constant :ref:`Customization` **CUSTOMIZATION_RECENT** = ``5`` Si está habilitado, muestra la lista de directorios recientes en el lado izquierdo del diálogo. Equivalente a :ref:`recent_list_enabled`. .. _class_FileDialog_constant_CUSTOMIZATION_LAYOUT: .. rst-class:: classref-enumeration-constant :ref:`Customization` **CUSTOMIZATION_LAYOUT** = ``6`` Si está habilitado, muestra los botones de cambio de diseño (lista/miniaturas). Equivalente a :ref:`layout_toggle_enabled`. .. _class_FileDialog_constant_CUSTOMIZATION_OVERWRITE_WARNING: .. rst-class:: classref-enumeration-constant :ref:`Customization` **CUSTOMIZATION_OVERWRITE_WARNING** = ``7`` If enabled, the **FileDialog** will warn the user before overwriting files in save mode. Equivalent to :ref:`overwrite_warning_enabled`. .. _class_FileDialog_constant_CUSTOMIZATION_DELETE: .. rst-class:: classref-enumeration-constant :ref:`Customization` **CUSTOMIZATION_DELETE** = ``8`` If enabled, the context menu will show the "Delete" option, which allows moving files and folders to trash. Equivalent to :ref:`deleting_enabled`. .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Descripciones de Propiedades -------------------------------------------------------- .. _class_FileDialog_property_access: .. rst-class:: classref-property :ref:`Access` **access** = ``0`` :ref:`🔗` .. rst-class:: classref-property-setget - |void| **set_access**\ (\ value\: :ref:`Access`\ ) - :ref:`Access` **get_access**\ (\ ) El ámbito de acceso al sistema de archivos. \ **Advertencia:** En compilaciones para la web, FileDialog no puede acceder al sistema de archivos del anfitrión. En entornos de sandboxed de Linux y macOS, :ref:`use_native_dialog` se utiliza automáticamente para permitir un acceso limitado al sistema de archivos del anfitrión. .. rst-class:: classref-item-separator ---- .. _class_FileDialog_property_current_dir: .. rst-class:: classref-property :ref:`String` **current_dir** :ref:`🔗` .. rst-class:: classref-property-setget - |void| **set_current_dir**\ (\ value\: :ref:`String`\ ) - :ref:`String` **get_current_dir**\ (\ ) El directorio de trabajo actual del diálogo de archivo. \ **Nota:** Para los diálogos de archivo nativos, esta propiedad sólo se trata como una sugerencia y puede no ser respetada por implementaciones específicas del sistema operativo. .. rst-class:: classref-item-separator ---- .. _class_FileDialog_property_current_file: .. rst-class:: classref-property :ref:`String` **current_file** :ref:`🔗` .. rst-class:: classref-property-setget - |void| **set_current_file**\ (\ value\: :ref:`String`\ ) - :ref:`String` **get_current_file**\ (\ ) El archivo actualmente seleccionado del diálogo de archivos. .. rst-class:: classref-item-separator ---- .. _class_FileDialog_property_current_path: .. rst-class:: classref-property :ref:`String` **current_path** :ref:`🔗` .. rst-class:: classref-property-setget - |void| **set_current_path**\ (\ value\: :ref:`String`\ ) - :ref:`String` **get_current_path**\ (\ ) La ruta de archivo actualmente seleccionada del diálogo de archivo. .. rst-class:: classref-item-separator ---- .. _class_FileDialog_property_deleting_enabled: .. rst-class:: classref-property :ref:`bool` **deleting_enabled** = ``true`` :ref:`🔗` .. rst-class:: classref-property-setget - |void| **set_customization_flag_enabled**\ (\ flag\: :ref:`Customization`, enabled\: :ref:`bool`\ ) - :ref:`bool` **is_customization_flag_enabled**\ (\ flag\: :ref:`Customization`\ ) |const| If ``true``, the context menu will show the "Delete" option, which allows moving files and folders to trash. .. rst-class:: classref-item-separator ---- .. _class_FileDialog_property_display_mode: .. rst-class:: classref-property :ref:`DisplayMode` **display_mode** = ``0`` :ref:`🔗` .. rst-class:: classref-property-setget - |void| **set_display_mode**\ (\ value\: :ref:`DisplayMode`\ ) - :ref:`DisplayMode` **get_display_mode**\ (\ ) Modo de visualización de la lista de archivos del diálogo. .. rst-class:: classref-item-separator ---- .. _class_FileDialog_property_favorites_enabled: .. rst-class:: classref-property :ref:`bool` **favorites_enabled** = ``true`` :ref:`🔗` .. rst-class:: classref-property-setget - |void| **set_customization_flag_enabled**\ (\ flag\: :ref:`Customization`, enabled\: :ref:`bool`\ ) - :ref:`bool` **is_customization_flag_enabled**\ (\ flag\: :ref:`Customization`\ ) |const| Si es ``true``, muestra el botón para alternar favoritos y la lista de favoritos en el lado izquierdo del diálogo. .. rst-class:: classref-item-separator ---- .. _class_FileDialog_property_file_filter_toggle_enabled: .. rst-class:: classref-property :ref:`bool` **file_filter_toggle_enabled** = ``true`` :ref:`🔗` .. rst-class:: classref-property-setget - |void| **set_customization_flag_enabled**\ (\ flag\: :ref:`Customization`, enabled\: :ref:`bool`\ ) - :ref:`bool` **is_customization_flag_enabled**\ (\ flag\: :ref:`Customization`\ ) |const| Si es ``true``, muestra el botón para alternar el filtro de archivos. .. rst-class:: classref-item-separator ---- .. _class_FileDialog_property_file_mode: .. rst-class:: classref-property :ref:`FileMode` **file_mode** = ``4`` :ref:`🔗` .. rst-class:: classref-property-setget - |void| **set_file_mode**\ (\ value\: :ref:`FileMode`\ ) - :ref:`FileMode` **get_file_mode**\ (\ ) The dialog's open or save mode, which affects the selection behavior. .. rst-class:: classref-item-separator ---- .. _class_FileDialog_property_file_sort_options_enabled: .. rst-class:: classref-property :ref:`bool` **file_sort_options_enabled** = ``true`` :ref:`🔗` .. rst-class:: classref-property-setget - |void| **set_customization_flag_enabled**\ (\ flag\: :ref:`Customization`, enabled\: :ref:`bool`\ ) - :ref:`bool` **is_customization_flag_enabled**\ (\ flag\: :ref:`Customization`\ ) |const| Si es ``true``, muestra el botón de opciones para ordenar archivos. .. rst-class:: classref-item-separator ---- .. _class_FileDialog_property_filename_filter: .. rst-class:: classref-property :ref:`String` **filename_filter** = ``""`` :ref:`🔗` .. rst-class:: classref-property-setget - |void| **set_filename_filter**\ (\ value\: :ref:`String`\ ) - :ref:`String` **get_filename_filter**\ (\ ) El filtro para nombres de archivo (no distingue entre mayúsculas y minúsculas). Cuando se establece en una string no vacía, solo se mostrarán los archivos que contengan la substring. El usuario puede editar :ref:`filename_filter` con el botón de filtro en la parte superior del diálogo de archivo. Véase también :ref:`filters`, que debería usarse para restringir los tipos de archivo que se pueden seleccionar en lugar de :ref:`filename_filter`, que está destinado a ser establecido por el usuario. .. rst-class:: classref-item-separator ---- .. _class_FileDialog_property_filters: .. rst-class:: classref-property :ref:`PackedStringArray` **filters** = ``PackedStringArray()`` :ref:`🔗` .. rst-class:: classref-property-setget - |void| **set_filters**\ (\ value\: :ref:`PackedStringArray`\ ) - :ref:`PackedStringArray` **get_filters**\ (\ ) The available file type filters. Each filter string in the array should be formatted like this: ``*.png,*.jpg,*.jpeg;Image Files;image/png,image/jpeg``. The description text of the filter is optional and can be omitted. Both file extensions and MIME type should be always set. \ **Note:** Embedded file dialogs and Windows file dialogs support only file extensions, while Android, Linux, and macOS file dialogs also support MIME types. **Note:** The returned array is *copied* and any changes to it will not update the original property value. See :ref:`PackedStringArray` for more details. .. rst-class:: classref-item-separator ---- .. _class_FileDialog_property_folder_creation_enabled: .. rst-class:: classref-property :ref:`bool` **folder_creation_enabled** = ``true`` :ref:`🔗` .. rst-class:: classref-property-setget - |void| **set_customization_flag_enabled**\ (\ flag\: :ref:`Customization`, enabled\: :ref:`bool`\ ) - :ref:`bool` **is_customization_flag_enabled**\ (\ flag\: :ref:`Customization`\ ) |const| If ``true``, shows the button for creating new directories (when using :ref:`FILE_MODE_OPEN_DIR`, :ref:`FILE_MODE_OPEN_ANY`, or :ref:`FILE_MODE_SAVE_FILE`), and the context menu will have the "New Folder..." option. .. rst-class:: classref-item-separator ---- .. _class_FileDialog_property_hidden_files_toggle_enabled: .. rst-class:: classref-property :ref:`bool` **hidden_files_toggle_enabled** = ``true`` :ref:`🔗` .. rst-class:: classref-property-setget - |void| **set_customization_flag_enabled**\ (\ flag\: :ref:`Customization`, enabled\: :ref:`bool`\ ) - :ref:`bool` **is_customization_flag_enabled**\ (\ flag\: :ref:`Customization`\ ) |const| Si es ``true``, muestra el botón para alternar la visibilidad de archivos ocultos. .. rst-class:: classref-item-separator ---- .. _class_FileDialog_property_layout_toggle_enabled: .. rst-class:: classref-property :ref:`bool` **layout_toggle_enabled** = ``true`` :ref:`🔗` .. rst-class:: classref-property-setget - |void| **set_customization_flag_enabled**\ (\ flag\: :ref:`Customization`, enabled\: :ref:`bool`\ ) - :ref:`bool` **is_customization_flag_enabled**\ (\ flag\: :ref:`Customization`\ ) |const| Si es ``true``, muestra los botones para cambiar el diseño (lista/miniaturas). .. rst-class:: classref-item-separator ---- .. _class_FileDialog_property_mode_overrides_title: .. rst-class:: classref-property :ref:`bool` **mode_overrides_title** = ``true`` :ref:`🔗` .. rst-class:: classref-property-setget - |void| **set_mode_overrides_title**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **is_mode_overriding_title**\ (\ ) Si es ``true``, cambiar la propiedad :ref:`file_mode` establecerá el título de la ventana en consecuencia (p. ej., establecer :ref:`file_mode` en :ref:`FILE_MODE_OPEN_FILE` cambiará el título de la ventana a "Abrir un archivo"). .. rst-class:: classref-item-separator ---- .. _class_FileDialog_property_option_count: .. rst-class:: classref-property :ref:`int` **option_count** = ``0`` :ref:`🔗` .. rst-class:: classref-property-setget - |void| **set_option_count**\ (\ value\: :ref:`int`\ ) - :ref:`int` **get_option_count**\ (\ ) The number of additional :ref:`OptionButton`\ s and :ref:`CheckBox`\ es in the dialog. .. rst-class:: classref-item-separator ---- .. _class_FileDialog_property_overwrite_warning_enabled: .. rst-class:: classref-property :ref:`bool` **overwrite_warning_enabled** = ``true`` :ref:`🔗` .. rst-class:: classref-property-setget - |void| **set_customization_flag_enabled**\ (\ flag\: :ref:`Customization`, enabled\: :ref:`bool`\ ) - :ref:`bool` **is_customization_flag_enabled**\ (\ flag\: :ref:`Customization`\ ) |const| If ``true``, the **FileDialog** will warn the user before overwriting files in save mode. .. rst-class:: classref-item-separator ---- .. _class_FileDialog_property_recent_list_enabled: .. rst-class:: classref-property :ref:`bool` **recent_list_enabled** = ``true`` :ref:`🔗` .. rst-class:: classref-property-setget - |void| **set_customization_flag_enabled**\ (\ flag\: :ref:`Customization`, enabled\: :ref:`bool`\ ) - :ref:`bool` **is_customization_flag_enabled**\ (\ flag\: :ref:`Customization`\ ) |const| Si es ``true``, muestra la lista de directorios recientes en el lado izquierdo del diálogo. .. rst-class:: classref-item-separator ---- .. _class_FileDialog_property_root_subfolder: .. rst-class:: classref-property :ref:`String` **root_subfolder** = ``""`` :ref:`🔗` .. rst-class:: classref-property-setget - |void| **set_root_subfolder**\ (\ value\: :ref:`String`\ ) - :ref:`String` **get_root_subfolder**\ (\ ) Si no está vacío, la subcarpeta dada será la "raíz" de este **FileDialog**, es decir, el usuario no podrá ir a su directorio padre. \ **Nota:** Esta propiedad es ignorada por los diálogos de archivo nativos. .. rst-class:: classref-item-separator ---- .. _class_FileDialog_property_show_hidden_files: .. rst-class:: classref-property :ref:`bool` **show_hidden_files** = ``false`` :ref:`🔗` .. rst-class:: classref-property-setget - |void| **set_show_hidden_files**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **is_showing_hidden_files**\ (\ ) Si es ``true``, el diálogo mostrará los archivos ocultos. \ **Nota:** Esta propiedad es ignorada por los diálogos de archivo nativos en Android y Linux. .. rst-class:: classref-item-separator ---- .. _class_FileDialog_property_use_native_dialog: .. rst-class:: classref-property :ref:`bool` **use_native_dialog** = ``false`` :ref:`🔗` .. rst-class:: classref-property-setget - |void| **set_use_native_dialog**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **get_use_native_dialog**\ (\ ) If ``true``, and if supported by the current :ref:`DisplayServer`, OS native dialog will be used instead of custom one. \ **Note:** On Android, it is only supported for Android 10+ devices and when using :ref:`ACCESS_FILESYSTEM`. For access mode :ref:`ACCESS_RESOURCES` and :ref:`ACCESS_USERDATA`, the system will fall back to custom FileDialog. \ **Note:** On Linux and macOS, sandboxed apps always use native dialogs to access the host file system. \ **Note:** On macOS, sandboxed apps will save security-scoped bookmarks to retain access to the opened folders across multiple sessions. Use :ref:`OS.get_granted_permissions()` to get a list of saved bookmarks. \ **Note:** Native dialogs are isolated from the base process, file dialog properties can't be modified once the dialog is shown. \ **Note:** This property is ignored in :ref:`EditorFileDialog`. .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Descripciones de Métodos ------------------------------------------------ .. _class_FileDialog_method_add_filter: .. rst-class:: classref-method |void| **add_filter**\ (\ filter\: :ref:`String`, description\: :ref:`String` = "", mime_type\: :ref:`String` = ""\ ) :ref:`🔗` Adds a comma-separated file extension ``filter`` and comma-separated MIME type ``mime_type`` option to the **FileDialog** with an optional ``description``, which restricts what files can be picked. A ``filter`` should be of the form ``"filename.extension"``, where filename and extension can be ``*`` to match any string. Filters starting with ``.`` (i.e. empty filenames) are not allowed. For example, a ``filter`` of ``"*.png, *.jpg"``, a ``mime_type`` of ``image/png, image/jpeg``, and a ``description`` of ``"Images"`` results in filter text "Images (\*.png, \*.jpg)". \ **Note:** Embedded file dialogs and Windows file dialogs support only file extensions, while Android, Linux, and macOS file dialogs also support MIME types. .. rst-class:: classref-item-separator ---- .. _class_FileDialog_method_add_option: .. rst-class:: classref-method |void| **add_option**\ (\ name\: :ref:`String`, values\: :ref:`PackedStringArray`, default_value_index\: :ref:`int`\ ) :ref:`🔗` Adds an additional :ref:`OptionButton` to the file dialog. If ``values`` is empty, a :ref:`CheckBox` is added instead. \ ``default_value_index`` should be an index of the value in the ``values``. If ``values`` is empty it should be either ``1`` (checked), or ``0`` (unchecked). .. rst-class:: classref-item-separator ---- .. _class_FileDialog_method_clear_filename_filter: .. rst-class:: classref-method |void| **clear_filename_filter**\ (\ ) :ref:`🔗` Limpiar el filtro de nombres de archivos. .. rst-class:: classref-item-separator ---- .. _class_FileDialog_method_clear_filters: .. rst-class:: classref-method |void| **clear_filters**\ (\ ) :ref:`🔗` Borra todos los filtros añadidos en el diálogo. .. rst-class:: classref-item-separator ---- .. _class_FileDialog_method_deselect_all: .. rst-class:: classref-method |void| **deselect_all**\ (\ ) :ref:`🔗` Borra los elementos actualmente seleccionados en el diálogo. .. rst-class:: classref-item-separator ---- .. _class_FileDialog_method_get_favorite_list: .. rst-class:: classref-method :ref:`PackedStringArray` **get_favorite_list**\ (\ ) |static| :ref:`🔗` Returns the list of favorite directories, which is shared by all **FileDialog** nodes. Useful to store the list of favorites between project sessions. This method can be called only from the main thread. .. rst-class:: classref-item-separator ---- .. _class_FileDialog_method_get_line_edit: .. rst-class:: classref-method :ref:`LineEdit` **get_line_edit**\ (\ ) :ref:`🔗` Returns the LineEdit for the selected file. \ **Warning:** This is a required internal node, removing and freeing it may cause a crash. If you wish to hide it or any of its children, use their :ref:`CanvasItem.visible` property. .. rst-class:: classref-item-separator ---- .. _class_FileDialog_method_get_option_default: .. rst-class:: classref-method :ref:`int` **get_option_default**\ (\ option\: :ref:`int`\ ) |const| :ref:`🔗` Returns the default value index of the :ref:`OptionButton` or :ref:`CheckBox` with index ``option``. .. rst-class:: classref-item-separator ---- .. _class_FileDialog_method_get_option_name: .. rst-class:: classref-method :ref:`String` **get_option_name**\ (\ option\: :ref:`int`\ ) |const| :ref:`🔗` Returns the name of the :ref:`OptionButton` or :ref:`CheckBox` with index ``option``. .. rst-class:: classref-item-separator ---- .. _class_FileDialog_method_get_option_values: .. rst-class:: classref-method :ref:`PackedStringArray` **get_option_values**\ (\ option\: :ref:`int`\ ) |const| :ref:`🔗` Returns an array of values of the :ref:`OptionButton` with index ``option``. .. rst-class:: classref-item-separator ---- .. _class_FileDialog_method_get_recent_list: .. rst-class:: classref-method :ref:`PackedStringArray` **get_recent_list**\ (\ ) |static| :ref:`🔗` Returns the list of recent directories, which is shared by all **FileDialog** nodes. Useful to store the list of recents between project sessions. This method can be called only from the main thread. .. rst-class:: classref-item-separator ---- .. _class_FileDialog_method_get_selected_options: .. rst-class:: classref-method :ref:`Dictionary` **get_selected_options**\ (\ ) |const| :ref:`🔗` Returns a :ref:`Dictionary` with the selected values of the additional :ref:`OptionButton`\ s and/or :ref:`CheckBox`\ es. :ref:`Dictionary` keys are names and values are selected value indices. .. rst-class:: classref-item-separator ---- .. _class_FileDialog_method_get_vbox: .. rst-class:: classref-method :ref:`VBoxContainer` **get_vbox**\ (\ ) :ref:`🔗` Devuelve el contenedor de caja vertical del diálogo, se le pueden añadir controles personalizados. \ **Advertencia:** Este es un nodo interno requerido, eliminarlo y liberarlo puede causar un fallo. Si deseas ocultarlo o cualquiera de sus hijos, usa su propiedad :ref:`CanvasItem.visible`. \ **Nota:** Los diálogos de archivo nativos ignoran los cambios en este nodo, usa :ref:`add_option()` para añadir elementos personalizados al diálogo en su lugar. .. rst-class:: classref-item-separator ---- .. _class_FileDialog_method_invalidate: .. rst-class:: classref-method |void| **invalidate**\ (\ ) :ref:`🔗` Invalidates and updates this dialog's content list. \ **Note:** This method does nothing on native file dialogs. .. rst-class:: classref-item-separator ---- .. _class_FileDialog_method_is_customization_flag_enabled: .. rst-class:: classref-method :ref:`bool` **is_customization_flag_enabled**\ (\ flag\: :ref:`Customization`\ ) |const| :ref:`🔗` Devuelve ``true`` si la ``flag`` proporcionada está habilitada. .. rst-class:: classref-item-separator ---- .. _class_FileDialog_method_popup_file_dialog: .. rst-class:: classref-method |void| **popup_file_dialog**\ (\ ) :ref:`🔗` Shows the **FileDialog** using the default size and position for file dialogs, and selects the file name if there is a current file. .. rst-class:: classref-item-separator ---- .. _class_FileDialog_method_set_customization_flag_enabled: .. rst-class:: classref-method |void| **set_customization_flag_enabled**\ (\ flag\: :ref:`Customization`, enabled\: :ref:`bool`\ ) :ref:`🔗` Sets the specified customization ``flag``, allowing to customize the features available in this **FileDialog**. .. rst-class:: classref-item-separator ---- .. _class_FileDialog_method_set_favorite_list: .. rst-class:: classref-method |void| **set_favorite_list**\ (\ favorites\: :ref:`PackedStringArray`\ ) |static| :ref:`🔗` Sets the list of favorite directories, which is shared by all **FileDialog** nodes. Useful to restore the list of favorites saved with :ref:`get_favorite_list()`. This method can be called only from the main thread. \ **Note:** **FileDialog** will update its internal :ref:`ItemList` of favorites when its visibility changes. Be sure to call this method earlier if you want your changes to have effect. .. rst-class:: classref-item-separator ---- .. _class_FileDialog_method_set_get_icon_callback: .. rst-class:: classref-method |void| **set_get_icon_callback**\ (\ callback\: :ref:`Callable`\ ) |static| :ref:`🔗` Sets the callback used by the **FileDialog** nodes to get a file icon, when :ref:`DISPLAY_LIST` mode is used. The callback should take a single :ref:`String` argument (file path), and return a :ref:`Texture2D`. If an invalid texture is returned, the :ref:`file` icon will be used instead. .. rst-class:: classref-item-separator ---- .. _class_FileDialog_method_set_get_thumbnail_callback: .. rst-class:: classref-method |void| **set_get_thumbnail_callback**\ (\ callback\: :ref:`Callable`\ ) |static| :ref:`🔗` Sets the callback used by the **FileDialog** nodes to get a file icon, when :ref:`DISPLAY_THUMBNAILS` mode is used. The callback should take a single :ref:`String` argument (file path), and return a :ref:`Texture2D`. If an invalid texture is returned, the :ref:`file_thumbnail` icon will be used instead. Thumbnails are usually more complex and may take a while to load. To avoid stalling the application, you can use :ref:`ImageTexture` to asynchronously create the thumbnail. :: func _ready(): FileDialog.set_get_thumbnail_callback(thumbnail_method) func thumbnail_method(path): var image_texture = ImageTexture.new() make_thumbnail_async(path, image_texture) return image_texture func make_thumbnail_async(path, image_texture): var thumbnail_texture = await generate_thumbnail(path) # Some method that generates a thumbnail. image_texture.set_image(thumbnail_texture.get_image()) .. rst-class:: classref-item-separator ---- .. _class_FileDialog_method_set_option_default: .. rst-class:: classref-method |void| **set_option_default**\ (\ option\: :ref:`int`, default_value_index\: :ref:`int`\ ) :ref:`🔗` Sets the default value index of the :ref:`OptionButton` or :ref:`CheckBox` with index ``option``. .. rst-class:: classref-item-separator ---- .. _class_FileDialog_method_set_option_name: .. rst-class:: classref-method |void| **set_option_name**\ (\ option\: :ref:`int`, name\: :ref:`String`\ ) :ref:`🔗` Sets the name of the :ref:`OptionButton` or :ref:`CheckBox` with index ``option``. .. rst-class:: classref-item-separator ---- .. _class_FileDialog_method_set_option_values: .. rst-class:: classref-method |void| **set_option_values**\ (\ option\: :ref:`int`, values\: :ref:`PackedStringArray`\ ) :ref:`🔗` Sets the option values of the :ref:`OptionButton` with index ``option``. .. rst-class:: classref-item-separator ---- .. _class_FileDialog_method_set_recent_list: .. rst-class:: classref-method |void| **set_recent_list**\ (\ recents\: :ref:`PackedStringArray`\ ) |static| :ref:`🔗` Sets the list of recent directories, which is shared by all **FileDialog** nodes. Useful to restore the list of recents saved with :ref:`set_recent_list()`. This method can be called only from the main thread. \ **Note:** **FileDialog** will update its internal :ref:`ItemList` of recent directories when its visibility changes. Be sure to call this method earlier if you want your changes to have effect. .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Descripciones de las propiedades del tema ---------------------------------------------------------------------------------- .. _class_FileDialog_theme_color_file_disabled_color: .. rst-class:: classref-themeproperty :ref:`Color` **file_disabled_color** = ``Color(1, 1, 1, 0.25)`` :ref:`🔗` El tinte de color para los archivos desactivados (cuando se utiliza **FileDialog** en el modo de carpeta abierta). .. rst-class:: classref-item-separator ---- .. _class_FileDialog_theme_color_file_icon_color: .. rst-class:: classref-themeproperty :ref:`Color` **file_icon_color** = ``Color(1, 1, 1, 1)`` :ref:`🔗` La modulación del color aplicada al icono del archivo. .. rst-class:: classref-item-separator ---- .. _class_FileDialog_theme_color_folder_icon_color: .. rst-class:: classref-themeproperty :ref:`Color` **folder_icon_color** = ``Color(1, 1, 1, 1)`` :ref:`🔗` La modulación del color aplicada al icono de la carpeta. .. rst-class:: classref-item-separator ---- .. _class_FileDialog_theme_constant_thumbnail_size: .. rst-class:: classref-themeproperty :ref:`int` **thumbnail_size** = ``64`` :ref:`🔗` El tamaño de los iconos de miniatura cuando :ref:`DISPLAY_THUMBNAILS` está habilitado. .. rst-class:: classref-item-separator ---- .. _class_FileDialog_theme_icon_back_folder: .. rst-class:: classref-themeproperty :ref:`Texture2D` **back_folder** :ref:`🔗` Icono personalizado para la flecha de retroceso. .. rst-class:: classref-item-separator ---- .. _class_FileDialog_theme_icon_create_folder: .. rst-class:: classref-themeproperty :ref:`Texture2D` **create_folder** :ref:`🔗` Icono personalizado para el botón de crear carpeta. .. rst-class:: classref-item-separator ---- .. _class_FileDialog_theme_icon_favorite: .. rst-class:: classref-themeproperty :ref:`Texture2D` **favorite** :ref:`🔗` Icono personalizado para el botón de carpeta favorita. .. rst-class:: classref-item-separator ---- .. _class_FileDialog_theme_icon_favorite_down: .. rst-class:: classref-themeproperty :ref:`Texture2D` **favorite_down** :ref:`🔗` Icono personalizado para el botón de mover hacia abajo una entrada favorita. .. rst-class:: classref-item-separator ---- .. _class_FileDialog_theme_icon_favorite_up: .. rst-class:: classref-themeproperty :ref:`Texture2D` **favorite_up** :ref:`🔗` Icono personalizado para el botón de mover hacia arriba una entrada favorita. .. rst-class:: classref-item-separator ---- .. _class_FileDialog_theme_icon_file: .. rst-class:: classref-themeproperty :ref:`Texture2D` **file** :ref:`🔗` Icono personalizado para los archivos. .. rst-class:: classref-item-separator ---- .. _class_FileDialog_theme_icon_file_thumbnail: .. rst-class:: classref-themeproperty :ref:`Texture2D` **file_thumbnail** :ref:`🔗` Icono para los archivos cuando está en modo de miniaturas. .. rst-class:: classref-item-separator ---- .. _class_FileDialog_theme_icon_folder: .. rst-class:: classref-themeproperty :ref:`Texture2D` **folder** :ref:`🔗` Icono personalizado para las carpetas. .. rst-class:: classref-item-separator ---- .. _class_FileDialog_theme_icon_folder_thumbnail: .. rst-class:: classref-themeproperty :ref:`Texture2D` **folder_thumbnail** :ref:`🔗` Icono para carpetas en modo miniatura. .. rst-class:: classref-item-separator ---- .. _class_FileDialog_theme_icon_forward_folder: .. rst-class:: classref-themeproperty :ref:`Texture2D` **forward_folder** :ref:`🔗` Icono personalizado para la flecha de avance. .. rst-class:: classref-item-separator ---- .. _class_FileDialog_theme_icon_list_mode: .. rst-class:: classref-themeproperty :ref:`Texture2D` **list_mode** :ref:`🔗` Icono para el botón que habilita el modo de lista. .. rst-class:: classref-item-separator ---- .. _class_FileDialog_theme_icon_parent_folder: .. rst-class:: classref-themeproperty :ref:`Texture2D` **parent_folder** :ref:`🔗` Icono personalizado para la flecha de la carpeta principal. .. rst-class:: classref-item-separator ---- .. _class_FileDialog_theme_icon_reload: .. rst-class:: classref-themeproperty :ref:`Texture2D` **reload** :ref:`🔗` Icono personalizado para el botón de recarga. .. rst-class:: classref-item-separator ---- .. _class_FileDialog_theme_icon_sort: .. rst-class:: classref-themeproperty :ref:`Texture2D` **sort** :ref:`🔗` Icono personalizado para el menú de opciones de ordenación. .. rst-class:: classref-item-separator ---- .. _class_FileDialog_theme_icon_thumbnail_mode: .. rst-class:: classref-themeproperty :ref:`Texture2D` **thumbnail_mode** :ref:`🔗` Icono para el botón que habilita el modo de miniaturas. .. rst-class:: classref-item-separator ---- .. _class_FileDialog_theme_icon_toggle_filename_filter: .. rst-class:: classref-themeproperty :ref:`Texture2D` **toggle_filename_filter** :ref:`🔗` Icono personalizado para el botón de conmutación del filtro de nombres de archivo. .. rst-class:: classref-item-separator ---- .. _class_FileDialog_theme_icon_toggle_hidden: .. rst-class:: classref-themeproperty :ref:`Texture2D` **toggle_hidden** :ref:`🔗` Icono personalizado para el botón oculto de commutación. .. |virtual| replace:: :abbr:`virtual (Normalmente, este método debería ser sobreescrito por el usuario para que tenga algún efecto.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` .. |const| replace:: :abbr:`const (Este método no tiene efectos secundarios. No modifica ninguna de las variables miembro de la instancia.)` .. |vararg| replace:: :abbr:`vararg (Este método permite agregar cualquier número de argumentos después de los descritos aquí.)` .. |constructor| replace:: :abbr:`constructor (Este método se utiliza para construir un tipo.)` .. |static| replace:: :abbr:`static (Este método no necesita una instancia para ser llamado, por lo que puede llamarse directamente utilizando el nombre de la clase.)` .. |operator| replace:: :abbr:`operator (Este método describe un operador válido para usar con este tipo como operando izquierdo.)` .. |bitfield| replace:: :abbr:`BitField (Este valor es un entero compuesto como una máscara de bits de las siguientes banderas.)` .. |void| replace:: :abbr:`void (Sin valor de retorno.)`