AppStream.Developer

g AppStream.Developer AppStream.Developer GObject.Object GObject.Object GObject.Object->AppStream.Developer

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new ()

get_id ()

get_name ()

set_id (id)

set_name (value, locale)

Virtual Methods

Inherited:

GObject.Object (7)

Properties

None

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent_instance

GObject.Object

r

Class Details

class AppStream.Developer(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

AppStream.DeveloperClass

classmethod new()
Returns:

a AppStream.Developer

Return type:

AppStream.Developer

Creates a new AppStream.Developer.

get_id()
Returns:

the unique developer ID, or None if none was set.

Return type:

str

Gets a unique ID for this particular developer, e.g. “gnome” or “mozilla.org”

get_name()
Returns:

the developer name.

Return type:

str

Get a localized developer, or development team name.

set_id(id)
Parameters:

id (str) – a developer ID, e.g. “mozilla.org”

Sets the unique ID of this developer.

set_name(value, locale)
Parameters:
  • value (str) – the developer or developer team name

  • locale (str or None) – the BCP47 locale, or None. e.g. “en-GB”

Set the the developer or development team name.