Class

GUsbDeviceList

Description

class GUsb.DeviceList : GObject.Object {
  parent_instance: GObject
}
No description available.

Ancestors

Constructors

g_usb_device_list_new

Creates a new device list.

Available since: 0.1.0

Instance methods

g_usb_device_list_coldplug

This function does nothing.

Available since: 0.1.0

g_usb_device_list_find_by_bus_address

Finds a device based on its bus and address values.

Available since: 0.1.0

g_usb_device_list_find_by_vid_pid

Finds a device based on its bus and address values.

Available since: 0.1.0

g_usb_device_list_get_devices
No description available.

Available since: 0.1.0

Methods inherited from GObject (42)

Properties

GUsb.DeviceList:context
No description available.

Signals

GUsb.DeviceList::device-added

This signal is emitted when a USB device is added.

GUsb.DeviceList::device-removed

This signal is emitted when a USB device is removed.

Signals inherited from GObject (1)
GObject.Object::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.

Class structure

struct GUsbDeviceListClass {
  GObjectClass parent_class;
  void (* device_added) (
    GUsbDeviceList* self,
    GUsbDevice* device
  );
  void (* device_removed) (
    GUsbDeviceList* self,
    GUsbDevice* device
  );
  
}
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.
GUsb.DeviceListClass.device_removed
No description available.