CinnamonDesktop.PnpIds

g CinnamonDesktop.PnpIds CinnamonDesktop.PnpIds GObject.Object GObject.Object GObject.Object->CinnamonDesktop.PnpIds

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new ()

get_pnp_id (pnp_id)

Virtual Methods

Inherited:

GObject.Object (7)

Properties

None

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent

GObject.Object

r

Class Details

class CinnamonDesktop.PnpIds(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

CinnamonDesktop.PnpIdsClass

classmethod new()
Returns:

a CinnamonDesktop.PnpIds object.

Return type:

CinnamonDesktop.PnpIds

Returns a reference to a CinnamonDesktop.PnpIds object, or creates a new one if none have been created.

get_pnp_id(pnp_id)
Parameters:

pnp_id (str) – the PNP ID to look for

Returns:

a new string representing the manufacturer name, or None when not found.

Return type:

str

Find the full manufacturer name for the given PNP ID.