@wailsio/runtime 3.0.0-alpha.6 → 3.0.0-alpha.60
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/docs/.nojekyll +1 -0
- package/docs/assets/highlight.css +22 -0
- package/docs/assets/icons.js +15 -0
- package/docs/assets/icons.svg +1 -0
- package/docs/assets/main.js +59 -0
- package/docs/assets/navigation.js +1 -0
- package/docs/assets/search.js +1 -0
- package/docs/assets/style.css +1415 -0
- package/docs/classes/Call.RuntimeError.html +11 -0
- package/docs/classes/Events.WailsEvent.html +4 -0
- package/docs/functions/Application.Hide.html +2 -0
- package/docs/functions/Application.Quit.html +2 -0
- package/docs/functions/Application.Show.html +2 -0
- package/docs/functions/Browser.OpenURL.html +3 -0
- package/docs/functions/Call.ByID.html +8 -0
- package/docs/functions/Call.ByName.html +6 -0
- package/docs/functions/Call.Call.html +11 -0
- package/docs/functions/Clipboard.SetText.html +6 -0
- package/docs/functions/Clipboard.Text.html +3 -0
- package/docs/functions/Create.Any.html +2 -0
- package/docs/functions/Create.Array.html +4 -0
- package/docs/functions/Create.ByteSlice.html +3 -0
- package/docs/functions/Create.Map.html +4 -0
- package/docs/functions/Create.Nullable.html +3 -0
- package/docs/functions/Create.Struct.html +3 -0
- package/docs/functions/Dialogs.Error.html +5 -0
- package/docs/functions/Dialogs.Info.html +5 -0
- package/docs/functions/Dialogs.OpenFile.html +3 -0
- package/docs/functions/Dialogs.Question.html +5 -0
- package/docs/functions/Dialogs.SaveFile.html +3 -0
- package/docs/functions/Dialogs.Warning.html +5 -0
- package/docs/functions/Events.Emit.html +6 -0
- package/docs/functions/Events.Off.html +4 -0
- package/docs/functions/Events.OffAll.html +3 -0
- package/docs/functions/Events.On.html +7 -0
- package/docs/functions/Events.OnMultiple.html +8 -0
- package/docs/functions/Events.Once.html +7 -0
- package/docs/functions/Events.setup.html +1 -0
- package/docs/functions/Flags.GetFlag.html +6 -0
- package/docs/functions/Screens.GetAll.html +3 -0
- package/docs/functions/Screens.GetCurrent.html +3 -0
- package/docs/functions/Screens.GetPrimary.html +3 -0
- package/docs/functions/System.Capabilities.html +4 -0
- package/docs/functions/System.Environment.html +5 -0
- package/docs/functions/System.IsAMD64.html +3 -0
- package/docs/functions/System.IsARM.html +3 -0
- package/docs/functions/System.IsARM64.html +5 -0
- package/docs/functions/System.IsDarkMode.html +5 -0
- package/docs/functions/System.IsDebug.html +1 -0
- package/docs/functions/System.IsLinux.html +3 -0
- package/docs/functions/System.IsMac.html +3 -0
- package/docs/functions/System.IsWindows.html +3 -0
- package/docs/functions/System.invoke.html +1 -0
- package/docs/functions/WML.Enable.html +2 -0
- package/docs/functions/WML.Reload.html +2 -0
- package/docs/functions/init.html +1 -0
- package/docs/index.html +5 -0
- package/docs/interfaces/Call.CallOptions.html +7 -0
- package/docs/interfaces/Dialogs.Button.html +7 -0
- package/docs/interfaces/Dialogs.FileFilter.html +5 -0
- package/docs/interfaces/Dialogs.MessageDialogOptions.html +9 -0
- package/docs/interfaces/Dialogs.OpenFileDialogOptions.html +33 -0
- package/docs/interfaces/Dialogs.SaveFileDialogOptions.html +35 -0
- package/docs/interfaces/Screens.Rect.html +9 -0
- package/docs/interfaces/Screens.Screen.html +25 -0
- package/docs/interfaces/Screens.Size.html +5 -0
- package/docs/interfaces/System.EnvironmentInfo.html +11 -0
- package/docs/interfaces/System.OSInfo.html +9 -0
- package/docs/modules/Application.html +4 -0
- package/docs/modules/Browser.html +2 -0
- package/docs/modules/Call.html +6 -0
- package/docs/modules/Clipboard.html +3 -0
- package/docs/modules/Create.html +7 -0
- package/docs/modules/Dialogs.html +12 -0
- package/docs/modules/Events.html +10 -0
- package/docs/modules/Flags.html +2 -0
- package/docs/modules/Screens.html +7 -0
- package/docs/modules/System.html +14 -0
- package/docs/modules/WML.html +3 -0
- package/docs/modules.html +14 -0
- package/docs/variables/Events.Types.html +1 -0
- package/docs/variables/Window.html +2 -0
- package/package.json +38 -17
- package/{application.js → src/application.js} +46 -46
- package/{browser.js → src/browser.js} +24 -24
- package/src/calls.js +221 -0
- package/{clipboard.js → src/clipboard.js} +35 -35
- package/{contextmenu.js → src/contextmenu.js} +97 -98
- package/src/create.js +125 -0
- package/src/dialogs.js +200 -0
- package/{drag.js → src/drag.js} +119 -125
- package/src/event_types.js +219 -0
- package/{events.js → src/events.js} +140 -134
- package/src/flags.js +25 -0
- package/src/index.js +60 -0
- package/src/nanoid.js +42 -0
- package/src/runtime.js +92 -0
- package/src/screens.js +71 -0
- package/{system.js → src/system.js} +143 -122
- package/src/utils.js +86 -0
- package/src/window.js +638 -0
- package/src/wml.js +250 -0
- package/tsconfig.json +20 -0
- package/types/application.d.ts +19 -0
- package/types/browser.d.ts +6 -0
- package/types/calls.d.ts +69 -0
- package/types/clipboard.d.ts +12 -0
- package/types/create.d.ts +52 -0
- package/types/dialogs.d.ts +184 -0
- package/types/event_types.d.ts +219 -0
- package/types/events.d.ts +271 -0
- package/types/flags.d.ts +7 -0
- package/types/index.d.ts +14 -0
- package/types/nanoid.d.ts +1 -0
- package/types/runtime.d.ts +30 -0
- package/types/screens.d.ts +94 -0
- package/types/system.d.ts +112 -0
- package/types/utils.d.ts +14 -0
- package/types/window.d.ts +407 -0
- package/types/wml.d.ts +12 -0
- package/calls.js +0 -123
- package/dialogs.js +0 -138
- package/flags.js +0 -63
- package/index.js +0 -56
- package/runtime.js +0 -122
- package/screens.js +0 -45
- package/types.d.ts +0 -130
- package/window.js +0 -122
- package/wml.js +0 -149
package/{drag.js → src/drag.js}
RENAMED
|
@@ -1,125 +1,119 @@
|
|
|
1
|
-
/*
|
|
2
|
-
_ __ _ __
|
|
3
|
-
| | / /___ _(_) /____
|
|
4
|
-
| | /| / / __ `/ / / ___/
|
|
5
|
-
| |/ |/ / /_/ / / (__ )
|
|
6
|
-
|__/|__/\__,_/_/_/____/
|
|
7
|
-
The electron alternative for Go
|
|
8
|
-
(c) Lea Anthony 2019-present
|
|
9
|
-
*/
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
let
|
|
17
|
-
let resizeEdge = null;
|
|
18
|
-
let
|
|
19
|
-
|
|
20
|
-
window._wails = window._wails || {};
|
|
21
|
-
|
|
22
|
-
window._wails.
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
if(
|
|
49
|
-
invoke(
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
let
|
|
96
|
-
let
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
let
|
|
102
|
-
let
|
|
103
|
-
let
|
|
104
|
-
let
|
|
105
|
-
|
|
106
|
-
//
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
if (
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
else if (
|
|
118
|
-
else if (
|
|
119
|
-
|
|
120
|
-
else if (topCorner && rightCorner) setResize("ne-resize");
|
|
121
|
-
else if (leftBorder) setResize("w-resize");
|
|
122
|
-
else if (topBorder) setResize("n-resize");
|
|
123
|
-
else if (bottomBorder) setResize("s-resize");
|
|
124
|
-
else if (rightBorder) setResize("e-resize");
|
|
125
|
-
}
|
|
1
|
+
/*
|
|
2
|
+
_ __ _ __
|
|
3
|
+
| | / /___ _(_) /____
|
|
4
|
+
| | /| / / __ `/ / / ___/
|
|
5
|
+
| |/ |/ / /_/ / / (__ )
|
|
6
|
+
|__/|__/\__,_/_/_/____/
|
|
7
|
+
The electron alternative for Go
|
|
8
|
+
(c) Lea Anthony 2019-present
|
|
9
|
+
*/
|
|
10
|
+
/* jshint esversion: 9 */
|
|
11
|
+
import {invoke, IsWindows} from "./system";
|
|
12
|
+
import {GetFlag} from "./flags";
|
|
13
|
+
|
|
14
|
+
// Setup
|
|
15
|
+
let shouldDrag = false;
|
|
16
|
+
let resizable = false;
|
|
17
|
+
let resizeEdge = null;
|
|
18
|
+
let defaultCursor = "auto";
|
|
19
|
+
|
|
20
|
+
window._wails = window._wails || {};
|
|
21
|
+
|
|
22
|
+
window._wails.setResizable = function(value) {
|
|
23
|
+
resizable = value;
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
window._wails.endDrag = function() {
|
|
27
|
+
document.body.style.cursor = 'default';
|
|
28
|
+
shouldDrag = false;
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
window.addEventListener('mousedown', onMouseDown);
|
|
32
|
+
window.addEventListener('mousemove', onMouseMove);
|
|
33
|
+
window.addEventListener('mouseup', onMouseUp);
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
function dragTest(e) {
|
|
37
|
+
let val = window.getComputedStyle(e.target).getPropertyValue("--wails-draggable");
|
|
38
|
+
let mousePressed = e.buttons !== undefined ? e.buttons : e.which;
|
|
39
|
+
if (!val || val === "" || val.trim() !== "drag" || mousePressed === 0) {
|
|
40
|
+
return false;
|
|
41
|
+
}
|
|
42
|
+
return e.detail === 1;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
function onMouseDown(e) {
|
|
46
|
+
|
|
47
|
+
// Check for resizing
|
|
48
|
+
if (resizeEdge) {
|
|
49
|
+
invoke("wails:resize:" + resizeEdge);
|
|
50
|
+
e.preventDefault();
|
|
51
|
+
return;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
if (dragTest(e)) {
|
|
55
|
+
// This checks for clicks on the scroll bar
|
|
56
|
+
if (e.offsetX > e.target.clientWidth || e.offsetY > e.target.clientHeight) {
|
|
57
|
+
return;
|
|
58
|
+
}
|
|
59
|
+
shouldDrag = true;
|
|
60
|
+
} else {
|
|
61
|
+
shouldDrag = false;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
function onMouseUp() {
|
|
66
|
+
shouldDrag = false;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
function setResize(cursor) {
|
|
70
|
+
document.documentElement.style.cursor = cursor || defaultCursor;
|
|
71
|
+
resizeEdge = cursor;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
function onMouseMove(e) {
|
|
75
|
+
if (shouldDrag) {
|
|
76
|
+
shouldDrag = false;
|
|
77
|
+
let mousePressed = e.buttons !== undefined ? e.buttons : e.which;
|
|
78
|
+
if (mousePressed > 0) {
|
|
79
|
+
invoke("wails:drag");
|
|
80
|
+
return;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
if (!resizable || !IsWindows()) {
|
|
84
|
+
return;
|
|
85
|
+
}
|
|
86
|
+
if (defaultCursor == null) {
|
|
87
|
+
defaultCursor = document.documentElement.style.cursor;
|
|
88
|
+
}
|
|
89
|
+
let resizeHandleHeight = GetFlag("system.resizeHandleHeight") || 5;
|
|
90
|
+
let resizeHandleWidth = GetFlag("system.resizeHandleWidth") || 5;
|
|
91
|
+
|
|
92
|
+
// Extra pixels for the corner areas
|
|
93
|
+
let cornerExtra = GetFlag("resizeCornerExtra") || 10;
|
|
94
|
+
|
|
95
|
+
let rightBorder = window.outerWidth - e.clientX < resizeHandleWidth;
|
|
96
|
+
let leftBorder = e.clientX < resizeHandleWidth;
|
|
97
|
+
let topBorder = e.clientY < resizeHandleHeight;
|
|
98
|
+
let bottomBorder = window.outerHeight - e.clientY < resizeHandleHeight;
|
|
99
|
+
|
|
100
|
+
// Adjust for corners
|
|
101
|
+
let rightCorner = window.outerWidth - e.clientX < (resizeHandleWidth + cornerExtra);
|
|
102
|
+
let leftCorner = e.clientX < (resizeHandleWidth + cornerExtra);
|
|
103
|
+
let topCorner = e.clientY < (resizeHandleHeight + cornerExtra);
|
|
104
|
+
let bottomCorner = window.outerHeight - e.clientY < (resizeHandleHeight + cornerExtra);
|
|
105
|
+
|
|
106
|
+
// If we aren't on an edge, but were, reset the cursor to default
|
|
107
|
+
if (!leftBorder && !rightBorder && !topBorder && !bottomBorder && resizeEdge !== undefined) {
|
|
108
|
+
setResize();
|
|
109
|
+
}
|
|
110
|
+
// Adjusted for corner areas
|
|
111
|
+
else if (rightCorner && bottomCorner) setResize("se-resize");
|
|
112
|
+
else if (leftCorner && bottomCorner) setResize("sw-resize");
|
|
113
|
+
else if (leftCorner && topCorner) setResize("nw-resize");
|
|
114
|
+
else if (topCorner && rightCorner) setResize("ne-resize");
|
|
115
|
+
else if (leftBorder) setResize("w-resize");
|
|
116
|
+
else if (topBorder) setResize("n-resize");
|
|
117
|
+
else if (bottomBorder) setResize("s-resize");
|
|
118
|
+
else if (rightBorder) setResize("e-resize");
|
|
119
|
+
}
|
|
@@ -0,0 +1,219 @@
|
|
|
1
|
+
|
|
2
|
+
export const EventTypes = {
|
|
3
|
+
Windows: {
|
|
4
|
+
APMPowerSettingChange: "windows:APMPowerSettingChange",
|
|
5
|
+
APMPowerStatusChange: "windows:APMPowerStatusChange",
|
|
6
|
+
APMResumeAutomatic: "windows:APMResumeAutomatic",
|
|
7
|
+
APMResumeSuspend: "windows:APMResumeSuspend",
|
|
8
|
+
APMSuspend: "windows:APMSuspend",
|
|
9
|
+
ApplicationStarted: "windows:ApplicationStarted",
|
|
10
|
+
SystemThemeChanged: "windows:SystemThemeChanged",
|
|
11
|
+
WebViewNavigationCompleted: "windows:WebViewNavigationCompleted",
|
|
12
|
+
WindowActive: "windows:WindowActive",
|
|
13
|
+
WindowBackgroundErase: "windows:WindowBackgroundErase",
|
|
14
|
+
WindowClickActive: "windows:WindowClickActive",
|
|
15
|
+
WindowClosing: "windows:WindowClosing",
|
|
16
|
+
WindowDidMove: "windows:WindowDidMove",
|
|
17
|
+
WindowDidResize: "windows:WindowDidResize",
|
|
18
|
+
WindowDPIChanged: "windows:WindowDPIChanged",
|
|
19
|
+
WindowDragDrop: "windows:WindowDragDrop",
|
|
20
|
+
WindowDragEnter: "windows:WindowDragEnter",
|
|
21
|
+
WindowDragLeave: "windows:WindowDragLeave",
|
|
22
|
+
WindowDragOver: "windows:WindowDragOver",
|
|
23
|
+
WindowEndMove: "windows:WindowEndMove",
|
|
24
|
+
WindowEndResize: "windows:WindowEndResize",
|
|
25
|
+
WindowFullscreen: "windows:WindowFullscreen",
|
|
26
|
+
WindowHide: "windows:WindowHide",
|
|
27
|
+
WindowInactive: "windows:WindowInactive",
|
|
28
|
+
WindowKeyDown: "windows:WindowKeyDown",
|
|
29
|
+
WindowKeyUp: "windows:WindowKeyUp",
|
|
30
|
+
WindowKillFocus: "windows:WindowKillFocus",
|
|
31
|
+
WindowNonClientHit: "windows:WindowNonClientHit",
|
|
32
|
+
WindowNonClientMouseDown: "windows:WindowNonClientMouseDown",
|
|
33
|
+
WindowNonClientMouseLeave: "windows:WindowNonClientMouseLeave",
|
|
34
|
+
WindowNonClientMouseMove: "windows:WindowNonClientMouseMove",
|
|
35
|
+
WindowNonClientMouseUp: "windows:WindowNonClientMouseUp",
|
|
36
|
+
WindowPaint: "windows:WindowPaint",
|
|
37
|
+
WindowRestore: "windows:WindowRestore",
|
|
38
|
+
WindowSetFocus: "windows:WindowSetFocus",
|
|
39
|
+
WindowShow: "windows:WindowShow",
|
|
40
|
+
WindowStartMove: "windows:WindowStartMove",
|
|
41
|
+
WindowStartResize: "windows:WindowStartResize",
|
|
42
|
+
WindowUnFullscreen: "windows:WindowUnFullscreen",
|
|
43
|
+
WindowZOrderChanged: "windows:WindowZOrderChanged",
|
|
44
|
+
WindowMinimise: "windows:WindowMinimise",
|
|
45
|
+
WindowUnMinimise: "windows:WindowUnMinimise",
|
|
46
|
+
WindowMaximise: "windows:WindowMaximise",
|
|
47
|
+
WindowUnMaximise: "windows:WindowUnMaximise",
|
|
48
|
+
},
|
|
49
|
+
Mac: {
|
|
50
|
+
ApplicationDidBecomeActive: "mac:ApplicationDidBecomeActive",
|
|
51
|
+
ApplicationDidChangeBackingProperties: "mac:ApplicationDidChangeBackingProperties",
|
|
52
|
+
ApplicationDidChangeEffectiveAppearance: "mac:ApplicationDidChangeEffectiveAppearance",
|
|
53
|
+
ApplicationDidChangeIcon: "mac:ApplicationDidChangeIcon",
|
|
54
|
+
ApplicationDidChangeOcclusionState: "mac:ApplicationDidChangeOcclusionState",
|
|
55
|
+
ApplicationDidChangeScreenParameters: "mac:ApplicationDidChangeScreenParameters",
|
|
56
|
+
ApplicationDidChangeStatusBarFrame: "mac:ApplicationDidChangeStatusBarFrame",
|
|
57
|
+
ApplicationDidChangeStatusBarOrientation: "mac:ApplicationDidChangeStatusBarOrientation",
|
|
58
|
+
ApplicationDidChangeTheme: "mac:ApplicationDidChangeTheme",
|
|
59
|
+
ApplicationDidFinishLaunching: "mac:ApplicationDidFinishLaunching",
|
|
60
|
+
ApplicationDidHide: "mac:ApplicationDidHide",
|
|
61
|
+
ApplicationDidResignActive: "mac:ApplicationDidResignActive",
|
|
62
|
+
ApplicationDidUnhide: "mac:ApplicationDidUnhide",
|
|
63
|
+
ApplicationDidUpdate: "mac:ApplicationDidUpdate",
|
|
64
|
+
ApplicationShouldHandleReopen: "mac:ApplicationShouldHandleReopen",
|
|
65
|
+
ApplicationWillBecomeActive: "mac:ApplicationWillBecomeActive",
|
|
66
|
+
ApplicationWillFinishLaunching: "mac:ApplicationWillFinishLaunching",
|
|
67
|
+
ApplicationWillHide: "mac:ApplicationWillHide",
|
|
68
|
+
ApplicationWillResignActive: "mac:ApplicationWillResignActive",
|
|
69
|
+
ApplicationWillTerminate: "mac:ApplicationWillTerminate",
|
|
70
|
+
ApplicationWillUnhide: "mac:ApplicationWillUnhide",
|
|
71
|
+
ApplicationWillUpdate: "mac:ApplicationWillUpdate",
|
|
72
|
+
MenuDidAddItem: "mac:MenuDidAddItem",
|
|
73
|
+
MenuDidBeginTracking: "mac:MenuDidBeginTracking",
|
|
74
|
+
MenuDidClose: "mac:MenuDidClose",
|
|
75
|
+
MenuDidDisplayItem: "mac:MenuDidDisplayItem",
|
|
76
|
+
MenuDidEndTracking: "mac:MenuDidEndTracking",
|
|
77
|
+
MenuDidHighlightItem: "mac:MenuDidHighlightItem",
|
|
78
|
+
MenuDidOpen: "mac:MenuDidOpen",
|
|
79
|
+
MenuDidPopUp: "mac:MenuDidPopUp",
|
|
80
|
+
MenuDidRemoveItem: "mac:MenuDidRemoveItem",
|
|
81
|
+
MenuDidSendAction: "mac:MenuDidSendAction",
|
|
82
|
+
MenuDidSendActionToItem: "mac:MenuDidSendActionToItem",
|
|
83
|
+
MenuDidUpdate: "mac:MenuDidUpdate",
|
|
84
|
+
MenuWillAddItem: "mac:MenuWillAddItem",
|
|
85
|
+
MenuWillBeginTracking: "mac:MenuWillBeginTracking",
|
|
86
|
+
MenuWillDisplayItem: "mac:MenuWillDisplayItem",
|
|
87
|
+
MenuWillEndTracking: "mac:MenuWillEndTracking",
|
|
88
|
+
MenuWillHighlightItem: "mac:MenuWillHighlightItem",
|
|
89
|
+
MenuWillOpen: "mac:MenuWillOpen",
|
|
90
|
+
MenuWillPopUp: "mac:MenuWillPopUp",
|
|
91
|
+
MenuWillRemoveItem: "mac:MenuWillRemoveItem",
|
|
92
|
+
MenuWillSendAction: "mac:MenuWillSendAction",
|
|
93
|
+
MenuWillSendActionToItem: "mac:MenuWillSendActionToItem",
|
|
94
|
+
MenuWillUpdate: "mac:MenuWillUpdate",
|
|
95
|
+
WebViewDidCommitNavigation: "mac:WebViewDidCommitNavigation",
|
|
96
|
+
WebViewDidFinishNavigation: "mac:WebViewDidFinishNavigation",
|
|
97
|
+
WebViewDidReceiveServerRedirectForProvisionalNavigation: "mac:WebViewDidReceiveServerRedirectForProvisionalNavigation",
|
|
98
|
+
WebViewDidStartProvisionalNavigation: "mac:WebViewDidStartProvisionalNavigation",
|
|
99
|
+
WindowDidBecomeKey: "mac:WindowDidBecomeKey",
|
|
100
|
+
WindowDidBecomeMain: "mac:WindowDidBecomeMain",
|
|
101
|
+
WindowDidBeginSheet: "mac:WindowDidBeginSheet",
|
|
102
|
+
WindowDidChangeAlpha: "mac:WindowDidChangeAlpha",
|
|
103
|
+
WindowDidChangeBackingLocation: "mac:WindowDidChangeBackingLocation",
|
|
104
|
+
WindowDidChangeBackingProperties: "mac:WindowDidChangeBackingProperties",
|
|
105
|
+
WindowDidChangeCollectionBehavior: "mac:WindowDidChangeCollectionBehavior",
|
|
106
|
+
WindowDidChangeEffectiveAppearance: "mac:WindowDidChangeEffectiveAppearance",
|
|
107
|
+
WindowDidChangeOcclusionState: "mac:WindowDidChangeOcclusionState",
|
|
108
|
+
WindowDidChangeOrderingMode: "mac:WindowDidChangeOrderingMode",
|
|
109
|
+
WindowDidChangeScreen: "mac:WindowDidChangeScreen",
|
|
110
|
+
WindowDidChangeScreenParameters: "mac:WindowDidChangeScreenParameters",
|
|
111
|
+
WindowDidChangeScreenProfile: "mac:WindowDidChangeScreenProfile",
|
|
112
|
+
WindowDidChangeScreenSpace: "mac:WindowDidChangeScreenSpace",
|
|
113
|
+
WindowDidChangeScreenSpaceProperties: "mac:WindowDidChangeScreenSpaceProperties",
|
|
114
|
+
WindowDidChangeSharingType: "mac:WindowDidChangeSharingType",
|
|
115
|
+
WindowDidChangeSpace: "mac:WindowDidChangeSpace",
|
|
116
|
+
WindowDidChangeSpaceOrderingMode: "mac:WindowDidChangeSpaceOrderingMode",
|
|
117
|
+
WindowDidChangeTitle: "mac:WindowDidChangeTitle",
|
|
118
|
+
WindowDidChangeToolbar: "mac:WindowDidChangeToolbar",
|
|
119
|
+
WindowDidDeminiaturize: "mac:WindowDidDeminiaturize",
|
|
120
|
+
WindowDidEndSheet: "mac:WindowDidEndSheet",
|
|
121
|
+
WindowDidEnterFullScreen: "mac:WindowDidEnterFullScreen",
|
|
122
|
+
WindowDidEnterVersionBrowser: "mac:WindowDidEnterVersionBrowser",
|
|
123
|
+
WindowDidExitFullScreen: "mac:WindowDidExitFullScreen",
|
|
124
|
+
WindowDidExitVersionBrowser: "mac:WindowDidExitVersionBrowser",
|
|
125
|
+
WindowDidExpose: "mac:WindowDidExpose",
|
|
126
|
+
WindowDidFocus: "mac:WindowDidFocus",
|
|
127
|
+
WindowDidMiniaturize: "mac:WindowDidMiniaturize",
|
|
128
|
+
WindowDidMove: "mac:WindowDidMove",
|
|
129
|
+
WindowDidOrderOffScreen: "mac:WindowDidOrderOffScreen",
|
|
130
|
+
WindowDidOrderOnScreen: "mac:WindowDidOrderOnScreen",
|
|
131
|
+
WindowDidResignKey: "mac:WindowDidResignKey",
|
|
132
|
+
WindowDidResignMain: "mac:WindowDidResignMain",
|
|
133
|
+
WindowDidResize: "mac:WindowDidResize",
|
|
134
|
+
WindowDidUpdate: "mac:WindowDidUpdate",
|
|
135
|
+
WindowDidUpdateAlpha: "mac:WindowDidUpdateAlpha",
|
|
136
|
+
WindowDidUpdateCollectionBehavior: "mac:WindowDidUpdateCollectionBehavior",
|
|
137
|
+
WindowDidUpdateCollectionProperties: "mac:WindowDidUpdateCollectionProperties",
|
|
138
|
+
WindowDidUpdateShadow: "mac:WindowDidUpdateShadow",
|
|
139
|
+
WindowDidUpdateTitle: "mac:WindowDidUpdateTitle",
|
|
140
|
+
WindowDidUpdateToolbar: "mac:WindowDidUpdateToolbar",
|
|
141
|
+
WindowDidZoom: "mac:WindowDidZoom",
|
|
142
|
+
WindowFileDraggingEntered: "mac:WindowFileDraggingEntered",
|
|
143
|
+
WindowFileDraggingExited: "mac:WindowFileDraggingExited",
|
|
144
|
+
WindowFileDraggingPerformed: "mac:WindowFileDraggingPerformed",
|
|
145
|
+
WindowHide: "mac:WindowHide",
|
|
146
|
+
WindowMaximise: "mac:WindowMaximise",
|
|
147
|
+
WindowUnMaximise: "mac:WindowUnMaximise",
|
|
148
|
+
WindowMinimise: "mac:WindowMinimise",
|
|
149
|
+
WindowUnMinimise: "mac:WindowUnMinimise",
|
|
150
|
+
WindowShouldClose: "mac:WindowShouldClose",
|
|
151
|
+
WindowShow: "mac:WindowShow",
|
|
152
|
+
WindowWillBecomeKey: "mac:WindowWillBecomeKey",
|
|
153
|
+
WindowWillBecomeMain: "mac:WindowWillBecomeMain",
|
|
154
|
+
WindowWillBeginSheet: "mac:WindowWillBeginSheet",
|
|
155
|
+
WindowWillChangeOrderingMode: "mac:WindowWillChangeOrderingMode",
|
|
156
|
+
WindowWillClose: "mac:WindowWillClose",
|
|
157
|
+
WindowWillDeminiaturize: "mac:WindowWillDeminiaturize",
|
|
158
|
+
WindowWillEnterFullScreen: "mac:WindowWillEnterFullScreen",
|
|
159
|
+
WindowWillEnterVersionBrowser: "mac:WindowWillEnterVersionBrowser",
|
|
160
|
+
WindowWillExitFullScreen: "mac:WindowWillExitFullScreen",
|
|
161
|
+
WindowWillExitVersionBrowser: "mac:WindowWillExitVersionBrowser",
|
|
162
|
+
WindowWillFocus: "mac:WindowWillFocus",
|
|
163
|
+
WindowWillMiniaturize: "mac:WindowWillMiniaturize",
|
|
164
|
+
WindowWillMove: "mac:WindowWillMove",
|
|
165
|
+
WindowWillOrderOffScreen: "mac:WindowWillOrderOffScreen",
|
|
166
|
+
WindowWillOrderOnScreen: "mac:WindowWillOrderOnScreen",
|
|
167
|
+
WindowWillResignMain: "mac:WindowWillResignMain",
|
|
168
|
+
WindowWillResize: "mac:WindowWillResize",
|
|
169
|
+
WindowWillUnfocus: "mac:WindowWillUnfocus",
|
|
170
|
+
WindowWillUpdate: "mac:WindowWillUpdate",
|
|
171
|
+
WindowWillUpdateAlpha: "mac:WindowWillUpdateAlpha",
|
|
172
|
+
WindowWillUpdateCollectionBehavior: "mac:WindowWillUpdateCollectionBehavior",
|
|
173
|
+
WindowWillUpdateCollectionProperties: "mac:WindowWillUpdateCollectionProperties",
|
|
174
|
+
WindowWillUpdateShadow: "mac:WindowWillUpdateShadow",
|
|
175
|
+
WindowWillUpdateTitle: "mac:WindowWillUpdateTitle",
|
|
176
|
+
WindowWillUpdateToolbar: "mac:WindowWillUpdateToolbar",
|
|
177
|
+
WindowWillUpdateVisibility: "mac:WindowWillUpdateVisibility",
|
|
178
|
+
WindowWillUseStandardFrame: "mac:WindowWillUseStandardFrame",
|
|
179
|
+
WindowZoomIn: "mac:WindowZoomIn",
|
|
180
|
+
WindowZoomOut: "mac:WindowZoomOut",
|
|
181
|
+
WindowZoomReset: "mac:WindowZoomReset",
|
|
182
|
+
},
|
|
183
|
+
Linux: {
|
|
184
|
+
ApplicationStartup: "linux:ApplicationStartup",
|
|
185
|
+
SystemThemeChanged: "linux:SystemThemeChanged",
|
|
186
|
+
WindowDeleteEvent: "linux:WindowDeleteEvent",
|
|
187
|
+
WindowDidMove: "linux:WindowDidMove",
|
|
188
|
+
WindowDidResize: "linux:WindowDidResize",
|
|
189
|
+
WindowFocusIn: "linux:WindowFocusIn",
|
|
190
|
+
WindowFocusOut: "linux:WindowFocusOut",
|
|
191
|
+
WindowLoadChanged: "linux:WindowLoadChanged",
|
|
192
|
+
},
|
|
193
|
+
Common: {
|
|
194
|
+
ApplicationOpenedWithFile: "common:ApplicationOpenedWithFile",
|
|
195
|
+
ApplicationStarted: "common:ApplicationStarted",
|
|
196
|
+
ThemeChanged: "common:ThemeChanged",
|
|
197
|
+
WindowClosing: "common:WindowClosing",
|
|
198
|
+
WindowDidMove: "common:WindowDidMove",
|
|
199
|
+
WindowDidResize: "common:WindowDidResize",
|
|
200
|
+
WindowDPIChanged: "common:WindowDPIChanged",
|
|
201
|
+
WindowFilesDropped: "common:WindowFilesDropped",
|
|
202
|
+
WindowFocus: "common:WindowFocus",
|
|
203
|
+
WindowFullscreen: "common:WindowFullscreen",
|
|
204
|
+
WindowHide: "common:WindowHide",
|
|
205
|
+
WindowLostFocus: "common:WindowLostFocus",
|
|
206
|
+
WindowMaximise: "common:WindowMaximise",
|
|
207
|
+
WindowMinimise: "common:WindowMinimise",
|
|
208
|
+
WindowRestore: "common:WindowRestore",
|
|
209
|
+
WindowRuntimeReady: "common:WindowRuntimeReady",
|
|
210
|
+
WindowShow: "common:WindowShow",
|
|
211
|
+
WindowUnFullscreen: "common:WindowUnFullscreen",
|
|
212
|
+
WindowUnMaximise: "common:WindowUnMaximise",
|
|
213
|
+
WindowUnMinimise: "common:WindowUnMinimise",
|
|
214
|
+
WindowZoom: "common:WindowZoom",
|
|
215
|
+
WindowZoomIn: "common:WindowZoomIn",
|
|
216
|
+
WindowZoomOut: "common:WindowZoomOut",
|
|
217
|
+
WindowZoomReset: "common:WindowZoomReset",
|
|
218
|
+
},
|
|
219
|
+
};
|