Accounts.ServiceType¶
Fields¶
None
Methods¶
class |
|
|
|
|
|
|
|
|
|
|
|
|
Details¶
- class Accounts.ServiceType¶
Opaque structure. Use related accessor functions.
- classmethod list_free(list)¶
- Parameters:
list ([
Accounts.ServiceType
]) – aGLib.List
of service types returned by some function of this library, such asAccounts.Manager.list_service_types
().
Frees the list list.
- get_description()¶
-
Get the description of the
Accounts.ServiceType
.New in version 1.2.
- get_display_name()¶
- Returns:
the display name of self.
- Return type:
Get the display name of the
Accounts.ServiceType
.
- get_file_contents(contents, len)¶
- Parameters:
Gets the contents of the XML service type file. The buffer returned in contents should not be modified or freed, and is guaranteed to be valid as long as self is referenced. If some error occurs, contents is set to
None
.
- get_i18n_domain()¶
- Returns:
the translation domain.
- Return type:
Get the translation domain of the
Accounts.ServiceType
.
- get_icon_name()¶
- Returns:
the name of the icon of self.
- Return type:
Get the icon name of the
Accounts.ServiceType
.
- get_name()¶
- Returns:
the name of self.
- Return type:
Get the name of the
Accounts.ServiceType
.
- get_tags()¶
- Returns:
GLib.List
of tags for self. The list must be freed with g_list_free(). Entries are owned by theAccounts.ServiceType
type and must not be free’d.- Return type:
[
str
]
Get list of tags specified for the
Accounts.ServiceType
.
- has_tag(tag)¶
- Parameters:
tag (
str
) – the tag to check for.- Returns:
True
if theAccounts.ServiceType
has the tag,False
otherwise- Return type:
Check if the
Accounts.ServiceType
has the requested tag.
- ref()¶
- Returns:
self.
- Return type:
Adds a reference to self.
- unref()¶
Used to unreference the
Accounts.ServiceType
structure.