W3cubDocs

/Godot 2.1

EditorFileDialog

Inherits: ConfirmationDialog < AcceptDialog < WindowDialog < Popup < Control < CanvasItem < Node < Object

Category: Core

Brief Description

Member Functions

void add_filter ( String filter )
void clear_filters ( )
int get_access ( ) const
String get_current_dir ( ) const
String get_current_file ( ) const
String get_current_path ( ) const
int get_display_mode ( ) const
int get_mode ( ) const
VBoxContainer get_vbox ( )
void invalidate ( )
bool is_overwrite_warning_disabled ( ) const
bool is_showing_hidden_files ( ) const
void set_access ( int access )
void set_current_dir ( String dir )
void set_current_file ( String file )
void set_current_path ( String path )
void set_disable_overwrite_warning ( bool disable )
void set_display_mode ( int mode )
void set_mode ( int mode )
void set_show_hidden_files ( bool show )

Signals

Numeric Constants

  • MODE_OPEN_FILE = 0
  • MODE_OPEN_FILES = 1
  • MODE_OPEN_DIR = 2
  • MODE_OPEN_ANY = 3
  • MODE_SAVE_FILE = 4
  • ACCESS_RESOURCES = 0
  • ACCESS_USERDATA = 1
  • ACCESS_FILESYSTEM = 2

Member Function Description

void add_filter ( String filter )

void clear_filters ( )

int get_access ( ) const

String get_current_dir ( ) const

String get_current_file ( ) const

String get_current_path ( ) const

int get_display_mode ( ) const

int get_mode ( ) const

VBoxContainer get_vbox ( )

void invalidate ( )

bool is_overwrite_warning_disabled ( ) const

bool is_showing_hidden_files ( ) const

void set_access ( int access )

void set_current_dir ( String dir )

void set_current_file ( String file )

void set_current_path ( String path )

void set_disable_overwrite_warning ( bool disable )

void set_display_mode ( int mode )

void set_mode ( int mode )

void set_show_hidden_files ( bool show )

© 2014–2017 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
http://docs.godotengine.org/en/2.1/classes/class_editorfiledialog.html