GnomeDesktop.PnpIds

g GObject.Object GObject.Object GnomeDesktop.PnpIds GnomeDesktop.PnpIds GObject.Object->GnomeDesktop.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 GnomeDesktop.PnpIds(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

GnomeDesktop.PnpIdsClass

classmethod new()
Returns:

a GnomeDesktop.PnpIds object.

Return type:

GnomeDesktop.PnpIds

Returns a reference to a GnomeDesktop.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.