MainChannel
Object Hierarchy:
Description:
[
CCode ( type_id =
"spice_main_channel_get_type ()" ) ]
public class MainChannel :
Channel
The MainChannel struct is opaque and should not be accessed directly.
Content:
Properties:
Creation methods:
Methods:
- public bool agent_test_capability (uint32 cap)
Test capability of a remote agent.
- public void clipboard_selection_grab (uint selection, uint32 types, int ntypes)
Grab the guest clipboard, with VD_AGENT_CLIPBOARD
types
.
- public void clipboard_selection_notify (uint selection, uint32 type, uint8 data, size_t size)
Send the clipboard data to the guest.
- public void clipboard_selection_release (uint selection)
Release the clipboard (for example, when the client loses the
clipboard grab): Inform the guest no clipboard data is available.
- public void clipboard_selection_request (uint selection, uint32 type)
Request clipboard data of type
from the guest.
- public async bool file_copy_async (File[] sources, FileCopyFlags flags, Cancellable? cancellable, FileProgressCallback? progress_callback) throws Error
Copies the file sources
to guest
- public void request_mouse_mode (int mode)
Request a mouse mode to the server.
- public bool send_monitor_config ()
- public void update_display (int id, int x, int y, int width, int height, bool update)
Update the display id
resolution.
- public void update_display_enabled (int id, bool enabled, bool update)
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.
Signals:
- public signal void main_agent_update ()
- public signal void main_clipboard (uint type, void* data, uint size)
- public signal bool main_clipboard_grab (void* types, uint ntypes)
Inform when clipboard data is available from the guest, and for which
types
.
- public signal void main_clipboard_release ()
Inform when the clipboard is released from the guest, when no
clipboard data is available from the guest.
- public signal bool main_clipboard_request (uint types)
Request clipboard data from the client.
- public signal void main_clipboard_selection (uint selection, uint type, void* data, uint size)
Informs that clipboard selection data are available.
- public signal bool main_clipboard_selection_grab (uint selection, void* types, uint ntypes)
Inform when clipboard data is available from the guest, and for which
types
.
- public signal void main_clipboard_selection_release (uint selection)
Inform when the clipboard is released from the guest, when no
clipboard data is available from the guest.
- public signal bool main_clipboard_selection_request (uint selection, uint types)
Request clipboard data from the client.
- public signal void main_mouse_update ()
Notify when the mouse mode has changed.
- public signal void migration_started (Object session)
Inform when migration is starting.
- public signal void new_file_transfer (Object task)
This signal is emitted when a new file transfer task has been
initiated on this channel.
Inherited Members:
All known members inherited from class Spice.Channel
All known members inherited from class GLib.Object
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref