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

Method _button_pressed

editor/file_system/dependency_editor.cpp:890–898  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

888}
889
890void OrphanResourcesDialog::_button_pressed(Object *p_item, int p_column, int p_id, MouseButton p_button) {
891 if (p_button != MouseButton::LEFT) {
892 return;
893 }
894 TreeItem *ti = Object::cast_to<TreeItem>(p_item);
895
896 String path = ti->get_metadata(0);
897 dep_edit->edit(path);
898}
899
900OrphanResourcesDialog::OrphanResourcesDialog() {
901 set_title(TTR("Orphan Resource Explorer"));

Callers

nothing calls this directly

Calls 2

get_metadataMethod · 0.80
editMethod · 0.45

Tested by

no test coverage detected