-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathScreenEventType.hx
More file actions
36 lines (32 loc) · 852 Bytes
/
ScreenEventType.hx
File metadata and controls
36 lines (32 loc) · 852 Bytes
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
package eventtypes.electron;
/**
Auto generated from electron 2.0.2 api docs.
**/
enum abstract ScreenEventType(String) to String
#if hxnodejs to js.node.events.EventEmitter.Event<haxe.Constraints.Function> #end
{
/**
Emitted when newDisplay has been added.
Returns:
- `event` Event
- `newDisplay` Display
**/
var DisplayAdded = "display-added";
/**
Emitted when oldDisplay has been removed.
Returns:
- `event` Event
- `oldDisplay` Display
**/
var DisplayRemoved = "display-removed";
/**
Emitted when one or more metrics change in a display. The
changedMetrics is an array of strings that describe the changes.
Possible changes are bounds, workArea, scaleFactor and rotation.
Returns:
- `event` Event
- `display` Display
- `changedMetrics` String
**/
var DisplayMetricsChanged = "display-metrics-changed";
}