MCPcopy Create free account
hub / github.com/Redot-Engine/redot-engine / get_selected

Method get_selected

editor/gui/editor_quick_open_dialog.cpp:802–805  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

800}
801
802String QuickOpenResultContainer::get_selected() const {
803 ERR_FAIL_COND_V_MSG(has_nothing_selected(), String(), "Tried to get selected file, but nothing was selected.");
804 return candidates[selection_index].file_path;
805}
806
807QuickOpenDisplayMode QuickOpenResultContainer::get_adaptive_display_mode(const Vector<StringName> &p_base_types) {
808 static const Vector<StringName> grid_preferred_types = {

Callers 15

_dir_submittedMethod · 0.45
_action_pressedMethod · 0.45
update_file_nameMethod · 0.45
update_file_listMethod · 0.45
_item_activatedMethod · 0.45
_copy_pressedMethod · 0.45
ok_pressedMethod · 0.45
_make_dirMethod · 0.45
ok_pressedMethod · 0.45
_confirmedMethod · 0.45
_sbox_inputMethod · 0.45

Calls 1

StringClass · 0.50

Tested by

no test coverage detected