diff options
author | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2022-09-20 11:12:49 +0300 |
---|---|---|
committer | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2022-09-20 12:55:59 +0300 |
commit | 0ed4cc6287fba3b8b42dc97e6ca465f193bdc3e4 (patch) | |
tree | 3966fc2ef72c6247dfbc58129144b32a21fc1945 /doc | |
parent | aa553f403099a31520ab0c75a43f352642170d5f (diff) |
[macOS] Add an option to align window buttons in "extend to title" mode.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/classes/DisplayServer.xml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/classes/DisplayServer.xml b/doc/classes/DisplayServer.xml index d22d64c276..a1dee7ecc7 100644 --- a/doc/classes/DisplayServer.xml +++ b/doc/classes/DisplayServer.xml @@ -1336,6 +1336,15 @@ Depending on the platform and used renderer, the engine will fall back to [constant VSYNC_ENABLED], if the desired mode is not supported. </description> </method> + <method name="window_set_window_buttons_offset"> + <return type="void" /> + <param index="0" name="offset" type="Vector2i" /> + <param index="1" name="window_id" type="int" default="0" /> + <description> + When [constant WINDOW_FLAG_EXTEND_TO_TITLE] flag is set, set offset to the center of the first titlebar button. + [b]Note:[/b] This flag is implemented on macOS. + </description> + </method> <method name="window_set_window_event_callback"> <return type="void" /> <param index="0" name="callback" type="Callable" /> |