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

Method remove_debugger_tab

editor/debugger/script_editor_debugger.cpp:1975–1979  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1973}
1974
1975void ScriptEditorDebugger::remove_debugger_tab(Control *p_control) {
1976 int idx = tabs->get_tab_idx_from_control(p_control);
1977 ERR_FAIL_COND(idx < 0);
1978 p_control->queue_free();
1979}
1980
1981int ScriptEditorDebugger::get_current_debugger_tab() const {
1982 return tabs->get_current_tab();

Callers 2

remove_session_tabMethod · 0.80
detach_debuggerMethod · 0.80

Calls 2

queue_freeMethod · 0.45

Tested by

no test coverage detected