-
Notifications
You must be signed in to change notification settings - Fork 0
/
TrayEventType.hx
104 lines (95 loc) · 2.03 KB
/
TrayEventType.hx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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
49
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
96
97
98
99
100
101
102
103
104
package eventtypes.electron;
/**
Auto generated from electron 2.0.2 api docs.
**/
enum abstract TrayEventType(String) to String
#if hxnodejs to js.node.events.EventEmitter.Event<haxe.Constraints.Function> #end
{
/**
Emitted when the tray icon is clicked.
Returns:
- `event` Event
- `bounds` Rectangle
- `position` Point
**/
var Click = "click";
/**
Emitted when the tray icon is right clicked.
Returns:
- `event` Event
- `bounds` Rectangle
**/
var RightClick = "right-click";
/**
Emitted when the tray icon is double clicked.
Returns:
- `event` Event
- `bounds` Rectangle
**/
var DoubleClick = "double-click";
/**
Emitted when the tray balloon shows.
**/
var BalloonShow = "balloon-show";
/**
Emitted when the tray balloon is clicked.
**/
var BalloonClick = "balloon-click";
/**
Emitted when the tray balloon is closed because of timeout or user
manually closes it.
**/
var BalloonClosed = "balloon-closed";
/**
Emitted when any dragged items are dropped on the tray icon.
**/
var Drop = "drop";
/**
Emitted when dragged files are dropped in the tray icon.
Returns:
- `event` Event
- `files` String
**/
var DropFiles = "drop-files";
/**
Emitted when dragged text is dropped in the tray icon.
Returns:
- `event` Event
- `text` String
**/
var DropText = "drop-text";
/**
Emitted when a drag operation enters the tray icon.
**/
var DragEnter = "drag-enter";
/**
Emitted when a drag operation exits the tray icon.
**/
var DragLeave = "drag-leave";
/**
Emitted when a drag operation ends on the tray or ends at another
location.
**/
var DragEnd = "drag-end";
/**
Emitted when the mouse enters the tray icon.
Returns:
- `event` Event
- `position` Point
**/
var MouseEnter = "mouse-enter";
/**
Emitted when the mouse exits the tray icon.
Returns:
- `event` Event
- `position` Point
**/
var MouseLeave = "mouse-leave";
/**
Emitted when the mouse moves in the tray icon.
Returns:
- `event` Event
- `position` Point
**/
var MouseMove = "mouse-move";
}