summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2022-01-19 13:31:56 +0100
committerGitHub <noreply@github.com>2022-01-19 13:31:56 +0100
commit6ab5d9d0082f48a3a7b2e9cc8f5c8d0c2fe16d1e (patch)
tree27ce64237063ee40d640426a356f9f5cb9f5c4dd
parent34f6572bdf0cd2d16d3ee9d265a4bc9e7acfb76f (diff)
parent2db30ef2233152c4d3147d5c0f2bfff65e434827 (diff)
Merge pull request #56935 from V-Sekai/window_theme_changed_signal
-rw-r--r--doc/classes/Window.xml4
-rw-r--r--scene/main/window.cpp1
2 files changed, 5 insertions, 0 deletions
diff --git a/doc/classes/Window.xml b/doc/classes/Window.xml
index 75161d3c5b..0e4e3a65f8 100644
--- a/doc/classes/Window.xml
+++ b/doc/classes/Window.xml
@@ -368,6 +368,10 @@
<description>
</description>
</signal>
+ <signal name="theme_changed">
+ <description>
+ </description>
+ </signal>
<signal name="visibility_changed">
<description>
</description>
diff --git a/scene/main/window.cpp b/scene/main/window.cpp
index 1ca4f0018b..532b457843 100644
--- a/scene/main/window.cpp
+++ b/scene/main/window.cpp
@@ -1579,6 +1579,7 @@ void Window::_bind_methods() {
ADD_SIGNAL(MethodInfo("go_back_requested"));
ADD_SIGNAL(MethodInfo("visibility_changed"));
ADD_SIGNAL(MethodInfo("about_to_popup"));
+ ADD_SIGNAL(MethodInfo("theme_changed"));
BIND_CONSTANT(NOTIFICATION_VISIBILITY_CHANGED);