Accounts.Application

Fields

None

Methods

get_description ()

get_desktop_app_info ()

get_i18n_domain ()

get_name ()

get_service_usage (service)

ref ()

supports_service (service)

unref ()

Details

class Accounts.Application

Opaque structure. Use related accessor functions.

get_description()
Returns:

the description of self.

Return type:

str

Get the description of the Accounts.Application.

get_desktop_app_info()
Returns:

the Gio.DesktopAppInfo for self, or None if failed.

Return type:

Gio.DesktopAppInfo

Get the Gio.DesktopAppInfo of the application.

get_i18n_domain()
Returns:

the translation domain.

Return type:

str

Get the translation domain of the Accounts.Application.

get_name()
Returns:

the name of self.

Return type:

str

Get the name of the Accounts.Application.

get_service_usage(service)
Parameters:

service (Accounts.Service) – an Accounts.Service.

Returns:

usage description of the service.

Return type:

str

Get the description from the application XML file, for the specified service; if not found, get the service-type description instead.

ref()
Returns:

self.

Return type:

Accounts.Application

Increment the reference count of self.

supports_service(service)
Parameters:

service (Accounts.Service) – an Accounts.Service.

Returns:

True if service is supported, False otherwise.

Return type:

bool

Check whether the application supports the given service.

unref()

Decrements the reference count of self. The item is destroyed when the count gets to 0.