CloudProviders.AccountExporter¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w |
The action group associated with the account and menu model |
||
r/w/co |
The bus name of the account |
||
r/w |
The icon representing the account |
||
r/w |
The menu model associated with the account |
||
r/w |
The name of the account |
||
r/w |
The path of the directory where files are located |
||
r/w/co |
The provider associated with the account |
||
r/w |
The details of the account status |
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class CloudProviders.AccountExporter(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new(provider, bus_name)¶
- Parameters:
provider (
CloudProviders.ProviderExporter
) – The provider to which it will be associated.bus_name (
str
) – A unique name for the account must be a valid DBus object name
- Return type:
Create a new
CloudProviders.AccountExporter
object
- set_action_group(action_group)¶
- Parameters:
action_group (
Gio.ActionGroup
) – TheGio.ActionGroup
to be used by the menu exported by cloud_providers_account_exporter_export_menu
In order for a menu exported with cloud_providers_account_exporter_export_menu to receive events that will eventually call your callbacks, it needs the corresponding
Gio.ActionGroup
. Use this function to export it.
- Parameters:
menu_model (
Gio.MenuModel
) – The menu model to export
One of the benefits of the integration is to display a menu with available options for an account. Use this function to export a
Gio.MenuModel
menu to be displayed by the chosen integration by the desktop environment or application.
- set_status(status)¶
- Parameters:
status (
CloudProviders.AccountStatus
) –
Property Details¶
- CloudProviders.AccountExporter.props.action_group¶
- Name:
action-group
- Type:
- Default Value:
- Flags:
The action group associated with the account and menu model
- CloudProviders.AccountExporter.props.bus_name¶
- Name:
bus-name
- Type:
- Default Value:
- Flags:
The bus name of the account
- CloudProviders.AccountExporter.props.icon¶
-
The icon representing the account
- Name:
menu-model
- Type:
- Default Value:
- Flags:
The menu model associated with the account
- CloudProviders.AccountExporter.props.name¶
-
The name of the account
- CloudProviders.AccountExporter.props.path¶
-
The path of the directory where files are located
- CloudProviders.AccountExporter.props.provider¶
- Name:
provider
- Type:
- Default Value:
- Flags:
The provider associated with the account