Class

GUsbDeviceList

unstable since: 1.0

Description

class GUsb.DeviceList : GObject.Object
{
  /* No available fields */
}
No description available.

Available since: 1.0

Hierarchy

hierarchy this GUsbDeviceList ancestor_0 GObject ancestor_0--this

Ancestors

Constructors

g_usb_device_list_new

Creates a new device list.

since: 0.1.0

Instance methods

g_usb_device_list_coldplug

This function does nothing.

since: 0.1.0

g_usb_device_list_find_by_bus_address

Finds a device based on its bus and address values.

since: 0.1.0

g_usb_device_list_find_by_vid_pid

Finds a device based on its bus and address values.

since: 0.1.0

g_usb_device_list_get_devices
No description available.

since: 0.1.0

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

GUsb.DeviceList:context
No description available.

unstable since: 1.0

Signals

GUsb.DeviceList::device-added

This signal is emitted when a USB device is added.

unstable since: 1.0

GUsb.DeviceList::device-removed

This signal is emitted when a USB device is removed.

unstable since: 1.0

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

unstable since: 2.0

Class structure

struct GUsbDeviceListClass {
  GObjectClass parent_class;
  void (* device_added) (
    GUsbDeviceList* self,
    GUsbDevice* device
  );
  void (* device_removed) (
    GUsbDeviceList* self,
    GUsbDevice* device
  );
  
}
No description available.
Class members
parent_class: GObjectClass
No description available.
device_added: void (* device_added) ( GUsbDeviceList* self, GUsbDevice* device )
No description available.
device_removed: void (* device_removed) ( GUsbDeviceList* self, GUsbDevice* device )
No description available.

Virtual methods

GUsb.DeviceListClass.device_added
No description available.

unstable since: 1.0

GUsb.DeviceListClass.device_removed
No description available.

unstable since: 1.0