EditorFileDialog

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)

bool

disable_overwrite_warning

false

DisplayMode

display_mode

0

FileMode

file_mode

4

PackedStringArray

filters

PackedStringArray()

int

option_count

0

bool

show_hidden_files

false

String

title

"Save a File" (overrides Window)

Methods

void

add_filter ( String filter, String description=”” )

void

add_option ( String name, PackedStringArray values, int default_value_index )

void

add_side_menu ( Control menu, String title=”” )

void

clear_filters ( )

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

popup_file_dialog ( )

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 )


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!


enum DisplayMode:

DisplayMode DISPLAY_THUMBNAILS = 0

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

DisplayMode DISPLAY_LIST = 1

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!


bool disable_overwrite_warning = false

  • void set_disable_overwrite_warning ( bool value )

  • bool is_overwrite_warning_disabled ( )

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


DisplayMode display_mode = 0

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!


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!


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!


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 add_side_menu ( Control menu, String title=”” )

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!


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 popup_file_dialog ( )

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!