diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-09-20 13:36:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-20 13:36:34 +0200 |
commit | 34e28f2fb5fdc4fde65dc2e0c680cab26a6c86e5 (patch) | |
tree | 3966fc2ef72c6247dfbc58129144b32a21fc1945 /doc/classes | |
parent | aa553f403099a31520ab0c75a43f352642170d5f (diff) | |
parent | 0ed4cc6287fba3b8b42dc97e6ca465f193bdc3e4 (diff) |
Merge pull request #66152 from bruvzg/mac_title_button_pos
Diffstat (limited to 'doc/classes')
-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" /> |