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

Method selected_notify

editor/run/game_view_plugin.cpp:1270–1279  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1268///////
1269
1270void GameViewPluginBase::selected_notify() {
1271 if (_is_window_wrapper_enabled()) {
1272#ifdef ANDROID_ENABLED
1273 notify_main_screen_changed(get_plugin_name());
1274#else
1275 window_wrapper->grab_window_focus();
1276#endif // ANDROID_ENABLED
1277 _focus_another_editor();
1278 }
1279}
1280
1281#ifndef ANDROID_ENABLED
1282void GameViewPluginBase::make_visible(bool p_visible) {

Callers 1

selectMethod · 0.45

Calls 1

grab_window_focusMethod · 0.80

Tested by

no test coverage detected