Method
MksScreenattach
Declaration [src]
void
mks_screen_attach (
MksScreen* self,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer user_data
)
Description [src]
Asynchronously creates a GdkPaintable
that is updated with the
contents of the screen.
This function registers a new socketpair()
which is shared with
the QEMU instance to receive rendering updates. Those updates are
propagated to the resulting GdkPainable
which can be retrieved
using mks_screen_attach_finish()
from callback
.
Parameters
cancellable
-
Type:
GCancellable
A
GCancellable
.The argument can be NULL
.The data is owned by the caller of the method. callback
-
Type:
GAsyncReadyCallback
A
GAsyncReadyCallback
to execute upon completion.The argument can be NULL
. user_data
-
Type:
gpointer
Closure data for
callback
.The argument can be NULL
.The data is owned by the caller of the method.