CloudProviders.AccountExporter¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
Name |
Type |
Flags |
Short Description |
|---|---|---|---|
r/w |
|||
r/w/co |
|||
r/w |
|||
r/w |
|||
r/w |
|||
r/w |
|||
r/w/co |
|||
r/w |
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class CloudProviders.AccountExporter(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
Base object for representing a cloud providers account
- 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 [class`AccountExporter`] object
- set_action_group(action_group)¶
- Parameters:
action_group (
Gio.ActionGroup) – The action group to be used to render the menu
In order for a menu to receive events that will eventually call your callbacks, it needs the corresponding [iface`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 [class`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.