SpiceClientGtk.UsbDeviceWidget

g Atk.ImplementorIface Atk.ImplementorIface Gtk.Widget Gtk.Widget Atk.ImplementorIface->Gtk.Widget GObject.GInterface GObject.GInterface GObject.GInterface->Atk.ImplementorIface Gtk.Buildable Gtk.Buildable GObject.GInterface->Gtk.Buildable Gtk.Orientable Gtk.Orientable GObject.GInterface->Gtk.Orientable GObject.InitiallyUnowned GObject.InitiallyUnowned GObject.InitiallyUnowned->Gtk.Widget GObject.Object GObject.Object GObject.Object->GObject.InitiallyUnowned Gtk.Box Gtk.Box SpiceClientGtk.UsbDeviceWidget SpiceClientGtk.UsbDeviceWidget Gtk.Box->SpiceClientGtk.UsbDeviceWidget Gtk.Buildable->Gtk.Widget Gtk.Container Gtk.Container Gtk.Container->Gtk.Box Gtk.Orientable->Gtk.Box Gtk.Widget->Gtk.Container

Subclasses:

None

Methods

Inherited:

Gtk.Box (14), Gtk.Container (35), Gtk.Widget (278), GObject.Object (37), Gtk.Buildable (10), Gtk.Orientable (2)

Structs:

Gtk.ContainerClass (5), Gtk.WidgetClass (12), GObject.ObjectClass (5)

class

new (session, device_format_string)

Virtual Methods

Inherited:

Gtk.Container (10), Gtk.Widget (82), GObject.Object (7), Gtk.Buildable (10)

Properties

Inherited:

Gtk.Box (3), Gtk.Container (3), Gtk.Widget (39), Gtk.Orientable (1)

Name

Type

Flags

Short Description

device-format-string

str

r/w/co

Format string for device description

session

SpiceClientGLib.Session

r/w/co

SpiceClientGLib.Session

Child Properties

Inherited:

Gtk.Box (5)

Style Properties

Inherited:

Gtk.Widget (17)

Signals

Inherited:

Gtk.Container (4), Gtk.Widget (69), GObject.Object (1)

Name

Short Description

connect-failed

The SpiceClientGtk.UsbDeviceWidget ::connect-failed signal is emitted whenever the user has requested for a device to be redirected and this has failed.

Fields

Inherited:

Gtk.Container (4), Gtk.Widget (69), GObject.Object (1)

Class Details

class SpiceClientGtk.UsbDeviceWidget(*args, **kwargs)
Bases:

Gtk.Box

Abstract:

No

Structure:

SpiceClientGtk.UsbDeviceWidgetClass

The SpiceClientGtk.UsbDeviceWidget struct is opaque and should not be accessed directly.

classmethod new(session, device_format_string)
Parameters:
Returns:

a new SpiceClientGtk.UsbDeviceWidget instance

Return type:

Gtk.Widget

Creates a new widget to control USB redirection.

Signal Details

SpiceClientGtk.UsbDeviceWidget.signals.connect_failed(usb_device_widget, device, error)
Signal Name:

connect-failed

Flags:

RUN_FIRST

Parameters:

The SpiceClientGtk.UsbDeviceWidget ::connect-failed signal is emitted whenever the user has requested for a device to be redirected and this has failed.

Property Details

SpiceClientGtk.UsbDeviceWidget.props.device_format_string
Name:

device-format-string

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

Format string to pass to SpiceClientGLib.UsbDevice.get_description() for getting the device USB descriptions.

SpiceClientGtk.UsbDeviceWidget.props.session
Name:

session

Type:

SpiceClientGLib.Session

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

SpiceClientGLib.Session this SpiceClientGtk.UsbDeviceWidget is associated with