SpiceClientGtk.GtkSession¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
Virtual Methods¶
- Inherited:
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/c |
Automatically relay clipboard changes between host and guest. |
||
r/w/c |
Automatically redirect newly plugged in USBDevices to the guest. |
||
r |
Whether the pointer is grabbed |
||
r/w/co |
|||
r/w/c |
Automatically sync modifiers |
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class SpiceClientGtk.GtkSession(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
The
SpiceClientGtk.GtkSession
struct is opaque and should not be accessed directly.- classmethod get(session)¶
- Parameters:
session (
SpiceClientGLib.Session
) –SpiceClientGLib.Session
for which to get theSpiceClientGtk.GtkSession
- Returns:
a weak reference to the
SpiceClientGtk.GtkSession
associated with the passed inSpiceClientGLib.Session
- Return type:
Gets the
SpiceClientGtk.GtkSession
associated with the passed inSpiceClientGLib.Session
. A newSpiceClientGtk.GtkSession
instance will be created the first time this function is called for a certainSpiceClientGLib.Session
.Note that this function returns a weak reference, which should not be used after the
SpiceClientGLib.Session
itself has been unref-ed by the caller.
- copy_to_guest()¶
Copy client-side clipboard to guest clipboard.
New in version 0.8.
- paste_from_guest()¶
Copy guest clipboard to client-side clipboard.
New in version 0.8.
Property Details¶
- SpiceClientGtk.GtkSession.props.auto_clipboard¶
-
When this is true the clipboard gets automatically shared between host and guest.
New in version 0.8.
- SpiceClientGtk.GtkSession.props.auto_usbredir¶
-
Automatically redirect newly plugged in USB devices. Note the auto redirection only happens when a
SpiceClientGtk.Display
associated with the session had keyboard focus.New in version 0.8.
- SpiceClientGtk.GtkSession.props.pointer_grabbed¶
-
Returns
True
if the pointer is currently grabbed by this session.New in version 0.27.
- SpiceClientGtk.GtkSession.props.session¶
- Name:
session
- Type:
- Default Value:
- Flags:
SpiceClientGLib.Session
thisSpiceClientGtk.GtkSession
is associated withNew in version 0.8.