FileDialog

Inherits: ConfirmationDialog < AcceptDialog < Window < Viewport < Node < Object

There is currently no description for this class. Please help us by contributing one!

Properties

Access

access

0

String

current_dir

String

current_file

String

current_path

bool

dialog_hide_on_ok

false (overrides AcceptDialog)

FileMode

file_mode

4

PackedStringArray

filters

PackedStringArray()

bool

mode_overrides_title

true

int

option_count

0

String

root_subfolder

""

bool

show_hidden_files

false

String

title

"Save a File" (overrides Window)

bool

use_native_dialog

false

Methods

void

add_filter ( String filter, String description=”” )

void

add_option ( String name, PackedStringArray values, int default_value_index )

void

clear_filters ( )

void

deselect_all ( )

LineEdit

get_line_edit ( )

int

get_option_default ( int option ) const

String

get_option_name ( int option ) const

PackedStringArray

get_option_values ( int option ) const

Dictionary

get_selected_options ( ) const

VBoxContainer

get_vbox ( )

void

invalidate ( )

void

set_option_default ( int option, int default_value_index )

void

set_option_name ( int option, String name )

void

set_option_values ( int option, PackedStringArray values )

Theme Properties

Color

file_disabled_color

Color(1, 1, 1, 0.25)

Color

file_icon_color

Color(1, 1, 1, 1)

Color

folder_icon_color

Color(1, 1, 1, 1)

Texture2D

back_folder

Texture2D

create_folder

Texture2D

file

Texture2D

folder

Texture2D

forward_folder

Texture2D

parent_folder

Texture2D

reload

Texture2D

toggle_hidden


Signals

dir_selected ( String dir )

There is currently no description for this signal. Please help us by contributing one!


file_selected ( String path )

There is currently no description for this signal. Please help us by contributing one!


files_selected ( PackedStringArray paths )

There is currently no description for this signal. Please help us by contributing one!


Enumerations

enum FileMode:

FileMode FILE_MODE_OPEN_FILE = 0

There is currently no description for this enum. Please help us by contributing one!

FileMode FILE_MODE_OPEN_FILES = 1

There is currently no description for this enum. Please help us by contributing one!

FileMode FILE_MODE_OPEN_DIR = 2

There is currently no description for this enum. Please help us by contributing one!

FileMode FILE_MODE_OPEN_ANY = 3

There is currently no description for this enum. Please help us by contributing one!

FileMode FILE_MODE_SAVE_FILE = 4

There is currently no description for this enum. Please help us by contributing one!


enum Access:

Access ACCESS_RESOURCES = 0

There is currently no description for this enum. Please help us by contributing one!

Access ACCESS_USERDATA = 1

There is currently no description for this enum. Please help us by contributing one!

Access ACCESS_FILESYSTEM = 2

There is currently no description for this enum. Please help us by contributing one!


Property Descriptions

Access access = 0

There is currently no description for this property. Please help us by contributing one!


String current_dir

  • void set_current_dir ( String value )

  • String get_current_dir ( )

There is currently no description for this property. Please help us by contributing one!


String current_file

  • void set_current_file ( String value )

  • String get_current_file ( )

There is currently no description for this property. Please help us by contributing one!


String current_path

  • void set_current_path ( String value )

  • String get_current_path ( )

There is currently no description for this property. Please help us by contributing one!


FileMode file_mode = 4

There is currently no description for this property. Please help us by contributing one!


PackedStringArray filters = PackedStringArray()

There is currently no description for this property. Please help us by contributing one!


bool mode_overrides_title = true

  • void set_mode_overrides_title ( bool value )

  • bool is_mode_overriding_title ( )

There is currently no description for this property. Please help us by contributing one!


int option_count = 0

  • void set_option_count ( int value )

  • int get_option_count ( )

There is currently no description for this property. Please help us by contributing one!


String root_subfolder = ""

  • void set_root_subfolder ( String value )

  • String get_root_subfolder ( )

There is currently no description for this property. Please help us by contributing one!


bool show_hidden_files = false

  • void set_show_hidden_files ( bool value )

  • bool is_showing_hidden_files ( )

There is currently no description for this property. Please help us by contributing one!


bool use_native_dialog = false

  • void set_use_native_dialog ( bool value )

  • bool get_use_native_dialog ( )

There is currently no description for this property. Please help us by contributing one!


Method Descriptions

void add_filter ( String filter, String description=”” )

There is currently no description for this method. Please help us by contributing one!


void add_option ( String name, PackedStringArray values, int default_value_index )

There is currently no description for this method. Please help us by contributing one!


void clear_filters ( )

There is currently no description for this method. Please help us by contributing one!


void deselect_all ( )

There is currently no description for this method. Please help us by contributing one!


LineEdit get_line_edit ( )

There is currently no description for this method. Please help us by contributing one!


int get_option_default ( int option ) const

There is currently no description for this method. Please help us by contributing one!


String get_option_name ( int option ) const

There is currently no description for this method. Please help us by contributing one!


PackedStringArray get_option_values ( int option ) const

There is currently no description for this method. Please help us by contributing one!


Dictionary get_selected_options ( ) const

There is currently no description for this method. Please help us by contributing one!


VBoxContainer get_vbox ( )

There is currently no description for this method. Please help us by contributing one!


void invalidate ( )

There is currently no description for this method. Please help us by contributing one!


void set_option_default ( int option, int default_value_index )

There is currently no description for this method. Please help us by contributing one!


void set_option_name ( int option, String name )

There is currently no description for this method. Please help us by contributing one!


void set_option_values ( int option, PackedStringArray values )

There is currently no description for this method. Please help us by contributing one!


Theme Property Descriptions

Color file_disabled_color = Color(1, 1, 1, 0.25)

There is currently no description for this theme property. Please help us by contributing one!


Color file_icon_color = Color(1, 1, 1, 1)

There is currently no description for this theme property. Please help us by contributing one!


Color folder_icon_color = Color(1, 1, 1, 1)

There is currently no description for this theme property. Please help us by contributing one!


Texture2D back_folder

There is currently no description for this theme property. Please help us by contributing one!


Texture2D create_folder

There is currently no description for this theme property. Please help us by contributing one!


Texture2D file

There is currently no description for this theme property. Please help us by contributing one!


Texture2D folder

There is currently no description for this theme property. Please help us by contributing one!


Texture2D forward_folder

There is currently no description for this theme property. Please help us by contributing one!


Texture2D parent_folder

There is currently no description for this theme property. Please help us by contributing one!


Texture2D reload

There is currently no description for this theme property. Please help us by contributing one!


Texture2D toggle_hidden

There is currently no description for this theme property. Please help us by contributing one!