-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathxlib-2.0.d.ts
106 lines (77 loc) · 2.29 KB
/
xlib-2.0.d.ts
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
105
106
/** Generated with https://github.com/Gr3q/GIR2TS - If possible do not modify. */
declare namespace imports.gi.xlib {
export interface DisplayInitOptions {}
interface Display {}
class Display {
public constructor(options?: Partial<DisplayInitOptions>);
}
export interface ScreenInitOptions {}
interface Screen {}
class Screen {
public constructor(options?: Partial<ScreenInitOptions>);
}
export interface VisualInitOptions {}
interface Visual {}
class Visual {
public constructor(options?: Partial<VisualInitOptions>);
}
export interface XConfigureEventInitOptions {}
interface XConfigureEvent {}
class XConfigureEvent {
public constructor(options?: Partial<XConfigureEventInitOptions>);
}
export interface XImageInitOptions {}
interface XImage {}
class XImage {
public constructor(options?: Partial<XImageInitOptions>);
}
export interface XFontStructInitOptions {}
interface XFontStruct {}
class XFontStruct {
public constructor(options?: Partial<XFontStructInitOptions>);
}
export interface XTrapezoidInitOptions {}
interface XTrapezoid {}
class XTrapezoid {
public constructor(options?: Partial<XTrapezoidInitOptions>);
}
export interface XVisualInfoInitOptions {}
interface XVisualInfo {}
class XVisualInfo {
public constructor(options?: Partial<XVisualInfoInitOptions>);
}
export interface XWindowAttributesInitOptions {}
interface XWindowAttributes {}
class XWindowAttributes {
public constructor(options?: Partial<XWindowAttributesInitOptions>);
}
/** This construct is only for enabling class multi-inheritance,
* use {@link XEvent} instead.
*/
interface IXEvent {
}
type XEventInitOptionsMixin = {};
export interface XEventInitOptions extends XEventInitOptionsMixin {}
/** This construct is only for enabling class multi-inheritance,
* use {@link XEvent} instead.
*/
type XEventMixin = IXEvent;
interface XEvent extends XEventMixin {}
class XEvent {
public constructor(options?: Partial<XEventInitOptions>);
}
type Atom = number;
type Colormap = number;
type Cursor = number;
type Drawable = number;
type GC = any;
type KeyCode = number;
type KeySym = number;
type Picture = number;
type Time = number;
type VisualID = number;
type Window = number;
type XID = number;
type Pixmap = number;
function open_display(): void;
}