From db6d4352ea528e925c69ee94f6fb9bc0942719ec Mon Sep 17 00:00:00 2001
From: bruvzg <7645683+bruvzg@users.noreply.github.com>
Date: Wed, 6 Feb 2019 15:57:06 +0200
Subject: [macOS] Add methods to modify global and dock menus. Add ability to
open multiple editor/project manager instances, recent/favourite project list
to project manager dock menu and opened scene list to editor dock menu.
---
doc/classes/OS.xml | 44 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
(limited to 'doc/classes/OS.xml')
diff --git a/doc/classes/OS.xml b/doc/classes/OS.xml
index c770e78c7c..938777a36b 100644
--- a/doc/classes/OS.xml
+++ b/doc/classes/OS.xml
@@ -497,6 +497,50 @@
Returns unobscured area of the window where interactive controls should be rendered.
+
+
+
+
+
+
+
+
+
+
+
+
+ Add a new item with text "label" to global menu. Use "_dock" menu to add item to the macOS dock icon menu.
+
+
+
+
+
+
+
+
+ Add a separator between items. Separators also occupy an index.
+
+
+
+
+
+
+
+
+ Clear the global menu, in effect removing all items.
+
+
+
+
+
+
+
+
+
+
+ Removes the item at index "idx" from the global menu. Note that the indexes of items after the removed item are going to be shifted by one.
+
+
--
cgit v1.2.3