Spice-Gtk micro version component (e.g. 3 if version is 1.2.3)
Spice-Gtk minor version component (e.g. 2 if version is 1.2.3)
Gets a #GQuark representing the string "spice-client-error-quark"
Tells the spice server to change the preferred image compression
for the channel
.
a #SpiceDisplayChannel
a #SpiceImageCompression
Tells the spice server to change the preferred video codec type for
streaming in channel
. Application can set only one preferred video codec per
display channel.
a #SpiceDisplayChannel
a #SpiceVideoCodecType
Retrieves the GL scanout if available
a #SpiceDisplayChannel
Retrieve primary display surface surface_id
.
a #SpiceDisplayChannel
a surface id
a #SpiceDisplayPrimary
After a SpiceDisplayChannel::gl-draw is emitted, the client should draw the current display with the current GL scanout, and must release the GL resource with a call to spice_display_gl_draw_done() (failing to do so for each gl-draw may result in a frozen display).
a #SpiceDisplayChannel
Gets commandline options.
Bindings for other languages are available since 0.32
Press a mouse button.
a #SpiceInputsChannel
a SPICE_MOUSE_BUTTON
SPICE_MOUSE_BUTTON_MASK flags
Release a button.
a #SpiceInputsChannel
a SPICE_MOUSE_BUTTON
SPICE_MOUSE_BUTTON_MASK flags
Press a key.
a #SpiceInputsChannel
a PC XT (set 1) key scancode. For scancodes with an %0xe0 prefix, drop the prefix and OR the scancode with %0x100.
Press and release a key event atomically (in the same message).
a #SpiceInputsChannel
a PC XT (set 1) key scancode. For scancodes with an %0xe0 prefix, drop the prefix and OR the scancode with %0x100.
Release a key.
a #SpiceInputsChannel
a PC XT (set 1) key scancode. For scancodes with an %0xe0 prefix, drop the prefix and OR the scancode with %0x100.
Change mouse position (used in SPICE_MOUSE_MODE_SERVER).
a #SpiceInputsChannel
delta X mouse coordinates
delta Y mouse coordinates
SPICE_MOUSE_BUTTON_MASK flags
Change mouse position (used in SPICE_MOUSE_MODE_CLIENT).
a #SpiceInputsChannel
X mouse coordinates
Y mouse coordinates
display channel id
SPICE_MOUSE_BUTTON_MASK flags
Set the keyboard locks on the guest (Caps, Num, Scroll..)
a #SpiceInputsChannel
#SpiceInputsLock modifiers flags
Test capability of a remote agent.
a #SpiceMainChannel
an agent capability identifier
Grab the guest clipboard, with #VD_AGENT_CLIPBOARD types
.
a #SpiceMainChannel
an array of #VD_AGENT_CLIPBOARD types available in the clipboard
the number of types
Send the clipboard data to the guest.
a #SpiceMainChannel
a #VD_AGENT_CLIPBOARD type
clipboard data
data length in bytes
Release the clipboard (for example, when the client loses the clipboard grab): Inform the guest no clipboard data is available.
a #SpiceMainChannel
Request clipboard data of type
from the guest. The reply is sent
through the #SpiceMainChannel::main-clipboard signal.
a #SpiceMainChannel
a #VD_AGENT_CLIPBOARD type
Grab the guest clipboard, with #VD_AGENT_CLIPBOARD types
.
a #SpiceMainChannel
one of the clipboard #VD_AGENT_CLIPBOARD_SELECTION_*
an array of #VD_AGENT_CLIPBOARD types available in the clipboard
the number of types
Send the clipboard data to the guest.
a #SpiceMainChannel
one of the clipboard #VD_AGENT_CLIPBOARD_SELECTION_*
a #VD_AGENT_CLIPBOARD type
clipboard data
data length in bytes
Release the clipboard (for example, when the client loses the clipboard grab): Inform the guest no clipboard data is available.
a #SpiceMainChannel
one of the clipboard #VD_AGENT_CLIPBOARD_SELECTION_*
Request clipboard data of type
from the guest. The reply is sent
through the #SpiceMainChannel::main-clipboard-selection signal.
a #SpiceMainChannel
one of the clipboard #VD_AGENT_CLIPBOARD_SELECTION_*
a #VD_AGENT_CLIPBOARD type
See: spice_main_channel_file_copy_async()
a #SpiceMainChannel
a %NULL-terminated array of #GFile objects to be transferred
set of #GFileCopyFlags
optional #GCancellable object, %NULL to ignore
function to callback with progress information, or %NULL if progress information is not needed
a #GAsyncReadyCallback to call when the request is satisfied
Finishes copying the file started with spice_main_file_copy_async().
a #SpiceMainChannel
a #GAsyncResult.
Request a mouse mode to the server. The server may not be able to change the mouse mode, but spice-gtk will try to request it when possible.
a %SpiceMainChannel
a SPICE_MOUSE_MODE
Send monitors configuration previously set with spice_main_set_display() and spice_main_set_display_enabled()
a #SpiceMainChannel
Notify the guest of screen resolution change. The notification is sent 1 second later, if no further changes happen.
a #SpiceMainChannel
display ID
x position
y position
display width
display height
When sending monitor configuration to agent guest, don't set
display id,
which the agent translates to disabling the display
id. Note: this will take effect next time the monitor
configuration is sent.
a #SpiceMainChannel
display ID (if -1: set all displays)
wether display id
is enabled
Update the display id
resolution.
If update
is %TRUE, the remote configuration will be updated too
after 1 second without further changes. You can send when you want
without delay the new configuration to the remote with
spice_main_send_monitor_config()
a #SpiceMainChannel
display ID
x position
y position
display width
display height
if %TRUE, update guest resolution after 1sec.
When sending monitor configuration to agent guest, if enabled
is %FALSE,
don't set display id,
which the agent translates to disabling the display
id. If enabled
is %TRUE, the monitor will be included in the next monitor
update. Note: this will take effect next time the monitor configuration is
sent.
If update
is %FALSE, no server update will be triggered by this call, but
the value will be saved and used in the next configuration update.
a #SpiceMainChannel
display ID (if -1: set all displays)
wether display id
is enabled
if %TRUE, update guest display state after 1sec.
Send an event to the port.
Note: The values SPICE_PORT_EVENT_CLOSED and SPICE_PORT_EVENT_OPENED are managed by the channel connection state.
a #SpicePortChannel
a SPICE_PORT_EVENT value
Request an asynchronous write of count bytes from buffer
into the
port
. When the operation is finished callback
will be called. You
can then call spice_port_write_finish() to get the result of
the operation.
A #SpicePortChannel
the buffer containing the data to write
optional GCancellable object, NULL to ignore
callback to call when the request is satisfied
Finishes a port write operation.
a #SpicePortChannel
a #GAsyncResult
Send recorded PCM data to the guest.
a #SpiceRecordChannel
PCM data
size of data
stream timestamp
Set various properties on session,
according to the commandline
arguments given to spice_get_option_group() option group.
a #SpiceSession to set option upon
Gets the version string
Enable or disable Spice-GTK debugging messages.
%TRUE or %FALSE
Creates a string representation of uuid,
of the form
"06e023d5-86d8-420e-8103-383e4566087a"
UUID byte array
Spice-Gtk major version component (e.g. 1 if version is 1.2.3)