From ca8b762797cd725124f26c77f1a872cef269022b Mon Sep 17 00:00:00 2001
From: bruvzg <7645683+bruvzg@users.noreply.github.com>
Date: Tue, 10 Jan 2023 09:40:44 +0200
Subject: Add Node::get_window() method.
---
doc/classes/Node.xml | 6 ++++++
1 file changed, 6 insertions(+)
(limited to 'doc/classes')
diff --git a/doc/classes/Node.xml b/doc/classes/Node.xml
index 0ccc4155b4..02fd6dae30 100644
--- a/doc/classes/Node.xml
+++ b/doc/classes/Node.xml
@@ -421,6 +421,12 @@
Returns the node's [Viewport].
+
+
+
+ Returns the [Window] that contains this node. If the node is in the main window, this is equivalent to getting the root node ([code]get_tree().get_root()[/code]).
+
+
--
cgit v1.2.3