diff options
| author | Markus Sauermann <6299227+Sauermann@users.noreply.github.com> | 2023-06-18 12:59:13 +0200 |
|---|---|---|
| committer | Markus Sauermann <6299227+Sauermann@users.noreply.github.com> | 2023-06-18 16:03:50 +0200 |
| commit | 5b15c89c38b1ff7dadbe85bffc4d2d1654815059 (patch) | |
| tree | 0ea8c8d57b885c5995441bda55cb7fdb27924eff | |
| parent | a83eb16fba5bb3da086b41cbd79e6f95b09eb8ee (diff) | |
| download | redot-engine-5b15c89c38b1ff7dadbe85bffc4d2d1654815059.tar.gz | |
Made window focus notification docs more precise
| -rw-r--r-- | doc/classes/Node.xml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/classes/Node.xml b/doc/classes/Node.xml index 1b6f972b36..b6bd82eacc 100644 --- a/doc/classes/Node.xml +++ b/doc/classes/Node.xml @@ -1028,10 +1028,12 @@ Implemented on desktop and web platforms. </constant> <constant name="NOTIFICATION_WM_WINDOW_FOCUS_IN" value="1004"> - Notification received from the OS when the node's parent [Window] is focused. This may be a change of focus between two windows of the same engine instance, or from the OS desktop or a third-party application to a window of the game (in which case [constant NOTIFICATION_APPLICATION_FOCUS_IN] is also emitted). + Notification received when the node's parent [Window] is focused. This may be a change of focus between two windows of the same engine instance, or from the OS desktop or a third-party application to a window of the game (in which case [constant NOTIFICATION_APPLICATION_FOCUS_IN] is also emitted). + A [Window] node receives this notification when it is focused. </constant> <constant name="NOTIFICATION_WM_WINDOW_FOCUS_OUT" value="1005"> - Notification received from the OS when the node's parent [Window] is defocused. This may be a change of focus between two windows of the same engine instance, or from a window of the game to the OS desktop or a third-party application (in which case [constant NOTIFICATION_APPLICATION_FOCUS_OUT] is also emitted). + Notification received when the node's parent [Window] is defocused. This may be a change of focus between two windows of the same engine instance, or from a window of the game to the OS desktop or a third-party application (in which case [constant NOTIFICATION_APPLICATION_FOCUS_OUT] is also emitted). + A [Window] node receives this notification when it is defocused. </constant> <constant name="NOTIFICATION_WM_CLOSE_REQUEST" value="1006"> Notification received from the OS when a close request is sent (e.g. closing the window with a "Close" button or [kbd]Alt + F4[/kbd]). |
