2019-02-14 08:37:02 -08:00
|
|
|
class @beta Efl.Ui.Win_Socket extends Efl.Ui.Win
|
2017-08-17 08:29:02 -07:00
|
|
|
{
|
|
|
|
[[An off-screen window to be displayed in a remote process.
|
|
|
|
|
|
|
|
The window is rendered onto an image buffer to be displayed in another
|
|
|
|
process' plug image object. No actual window is created for this type. The
|
|
|
|
window contents can then be sent over a socket so that another process
|
|
|
|
displays it inside a plug image.
|
|
|
|
]]
|
|
|
|
methods {
|
|
|
|
socket_listen {
|
|
|
|
[[Create a socket to provide the service for Plug widget.]]
|
|
|
|
return: bool; [[$true on success, $false otherwise]]
|
|
|
|
params {
|
|
|
|
@in svcname: string; [[The name of the service to be advertised.
|
|
|
|
Ensure that it is unique (when combined with
|
|
|
|
$svcnum) otherwise creation may fail.]]
|
|
|
|
@in svcnum: int; [[A number (any value, 0 being the common default)
|
|
|
|
to differentiate multiple instances of services
|
|
|
|
with the same name.]]
|
2018-01-04 04:16:23 -08:00
|
|
|
@in svcsys: bool; [[A boolean which when true specifies the creation of a
|
|
|
|
system-wide service to which all users can connect,
|
2017-08-17 08:29:02 -07:00
|
|
|
otherwise the service is private to the user
|
2018-01-04 04:16:23 -08:00
|
|
|
id that created it.]]
|
2017-08-17 08:29:02 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
implements {
|
|
|
|
Efl.Object.finalize;
|
|
|
|
}
|
|
|
|
}
|