Accounts.Application¶
Fields¶
None
Methods¶
|
|
|
|
|
|
|
|
|
Details¶
- class Accounts.Application¶
Opaque structure. Use related accessor functions.
- get_description()¶
- Returns:
the description of self.
- Return type:
Get the description of the
Accounts.Application
.
- get_desktop_app_info()¶
- Returns:
the
Gio.DesktopAppInfo
for self, orNone
if failed.- Return type:
Get the
Gio.DesktopAppInfo
of the application.
- get_i18n_domain()¶
- Returns:
the translation domain.
- Return type:
Get the translation domain of the
Accounts.Application
.
- get_name()¶
- Returns:
the name of self.
- Return type:
Get the name of the
Accounts.Application
.
- get_service_usage(service)¶
- Parameters:
service (
Accounts.Service
) – anAccounts.Service
.- Returns:
usage description of the service.
- Return type:
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:
Increment the reference count of self.
- supports_service(service)¶
- Parameters:
service (
Accounts.Service
) – anAccounts.Service
.- Returns:
- Return type:
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.