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

Method grab_window_focus

editor/gui/window_wrapper.cpp:357–361  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

355}
356
357void WindowWrapper::grab_window_focus() {
358 if (get_window_enabled() && is_visible()) {
359 window->grab_focus();
360 }
361}
362
363void WindowWrapper::set_override_close_request(bool p_enabled) {
364 override_close_request = p_enabled;

Callers 1

selected_notifyMethod · 0.80

Calls 1

grab_focusMethod · 0.45

Tested by

no test coverage detected