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

Method get_window

scene/main/node.cpp:2105–2112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2103}
2104
2105Window *Node::get_window() const {
2106 ERR_THREAD_GUARD_V(nullptr);
2107 Viewport *vp = get_viewport();
2108 if (vp) {
2109 return vp->get_base_window();
2110 }
2111 return nullptr;
2112}
2113
2114Window *Node::get_non_popup_window() const {
2115 Window *w = get_window();

Callers 5

_open_dock_in_windowMethod · 0.80
focus_dockMethod · 0.80

Calls 1

get_base_windowMethod · 0.80

Tested by

no test coverage detected