blob: 3a40861e6fc036c49f429433254143a8fed30c2d (
plain)
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
|
class Efl.Loop_Fd (Efl.Loop_Consumer)
{
[[Fds are objects that watch the activity on a given
file descriptor. This file descriptor can be a
network, a file, provided by a library.
The object will trigger relevant events depending
on what's happening.]]
methods {
@property fd {
[[Defines which file descriptor to watch. If it is a file, use file_fd variant.]]
set {
[[Defines the fd to watch.]]
}
get {
}
values {
fd: int; [[The file descriptor.]]
}
}
@property fd_file {
[[Defines which file descriptor to watch when watching a file.]]
set {
[[Defines the fd to watch on.]]
}
get {
}
values {
fd: int; [[The file descriptor.]]
}
}
}
events {
read: void; [[Called when a read happened on the file descriptor]]
write: void; [[Called when a write happened on the file descriptor]]
error: void; [[Called when a error occurred on the file descriptor]]
}
implements {
Efl.Object.constructor;
Efl.Object.invalidate;
Efl.Object.parent { set; }
}
}
|