Expose EditorFileDialog::popup_file_dialog()
to GDScript and GDExtension
This commit is contained in:
parent
89850d553e
commit
8ce54d4632
2 changed files with 7 additions and 0 deletions
|
@ -90,6 +90,12 @@
|
||||||
Notify the [EditorFileDialog] that its view of the data is no longer accurate. Updates the view contents on next view update.
|
Notify the [EditorFileDialog] that its view of the data is no longer accurate. Updates the view contents on next view update.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
|
<method name="popup_file_dialog">
|
||||||
|
<return type="void" />
|
||||||
|
<description>
|
||||||
|
Shows the [EditorFileDialog] at the default size and position for file dialogs in the editor, and selects the file name if there is a current file.
|
||||||
|
</description>
|
||||||
|
</method>
|
||||||
<method name="set_option_default">
|
<method name="set_option_default">
|
||||||
<return type="void" />
|
<return type="void" />
|
||||||
<param index="0" name="option" type="int" />
|
<param index="0" name="option" type="int" />
|
||||||
|
|
|
@ -1929,6 +1929,7 @@ void EditorFileDialog::_bind_methods() {
|
||||||
ClassDB::bind_method(D_METHOD("set_disable_overwrite_warning", "disable"), &EditorFileDialog::set_disable_overwrite_warning);
|
ClassDB::bind_method(D_METHOD("set_disable_overwrite_warning", "disable"), &EditorFileDialog::set_disable_overwrite_warning);
|
||||||
ClassDB::bind_method(D_METHOD("is_overwrite_warning_disabled"), &EditorFileDialog::is_overwrite_warning_disabled);
|
ClassDB::bind_method(D_METHOD("is_overwrite_warning_disabled"), &EditorFileDialog::is_overwrite_warning_disabled);
|
||||||
ClassDB::bind_method(D_METHOD("add_side_menu", "menu", "title"), &EditorFileDialog::add_side_menu, DEFVAL(""));
|
ClassDB::bind_method(D_METHOD("add_side_menu", "menu", "title"), &EditorFileDialog::add_side_menu, DEFVAL(""));
|
||||||
|
ClassDB::bind_method(D_METHOD("popup_file_dialog"), &EditorFileDialog::popup_file_dialog);
|
||||||
|
|
||||||
ClassDB::bind_method(D_METHOD("invalidate"), &EditorFileDialog::invalidate);
|
ClassDB::bind_method(D_METHOD("invalidate"), &EditorFileDialog::invalidate);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue