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

Method get_window_screen

editor/gui/window_wrapper.cpp:227–230  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

225}
226
227int WindowWrapper::get_window_screen() const {
228 ERR_FAIL_COND_V(!get_window_enabled(), -1);
229 return window->get_current_screen();
230}
231
232void WindowWrapper::restore_window(const Rect2i &p_rect, int p_screen) {
233 ERR_FAIL_COND(!is_window_available());

Callers 4

get_window_layoutMethod · 0.80
get_window_layoutMethod · 0.80
save_docks_to_configMethod · 0.80

Calls 1

get_current_screenMethod · 0.80

Tested by

no test coverage detected