| Top |
CloudProvidersAccountExporterCloudProvidersAccountExporter — Base object for representing a cloud providers account |
| GActionGroup * | action-group | Read / Write |
| gchar * | bus-name | Read / Write / Construct Only |
| GIcon * | icon | Read / Write |
| GMenuModel * | menu-model | Read / Write |
| gchar * | name | Read / Write |
| gchar * | path | Read / Write |
| CloudProvidersProviderExporter * | provider | Read / Write / Construct Only |
| CloudProvidersAccountStatus | status | Read / Write |
| gchar * | status-details | Read / Write |
| GDBusConnection * | bus | Read / Write / Construct Only |
| gchar * | bus-name | Read / Write / Construct Only |
| gchar * | bus-path | Read / Write / Construct Only |
| gchar * | name | Read / Write |
CloudProvidersAccountExporter * cloud_providers_account_exporter_new (CloudProvidersProviderExporter *provider,const gchar *bus_name);
Create a new CloudProvidersAccountExporter object
void cloud_providers_account_exporter_set_name (CloudProvidersAccountExporter *self,const gchar *name);
void cloud_providers_account_exporter_set_status (CloudProvidersAccountExporter *self,CloudProvidersAccountStatus status);
void cloud_providers_account_exporter_set_status_details (CloudProvidersAccountExporter *self,const gchar *status_details);
void cloud_providers_account_exporter_set_icon (CloudProvidersAccountExporter *self,GIcon *icon);
void cloud_providers_account_exporter_set_menu_model (CloudProvidersAccountExporter *self,GMenuModel *menu_model);
One of the benefits of the integration is to display a menu with available options for an account. Use this function to export a GMenuModel menu to be displayed by the choosen integration by the desktop environment or application.
void cloud_providers_account_exporter_set_action_group (CloudProvidersAccountExporter *self,GActionGroup *action_group);
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 GAcionGroup. Use this function to export it.
void cloud_providers_account_exporter_set_path (CloudProvidersAccountExporter *self,const gchar *path);
#define CLOUD_PROVIDERS_TYPE_ACCOUNT_EXPORTER (cloud_providers_account_exporter_get_type())
struct CloudProvidersAccountExporterClass {
GObjectClass parent_class;
};
typedef struct _CloudProvidersAccountExporter CloudProvidersAccountExporter;
“action-group” property“action-group” GActionGroup *
The action group associated with the account and menu model.
Flags: Read / Write
“bus-name” property“bus-name” gchar *
The bus name of the account.
Flags: Read / Write / Construct Only
Default value: NULL
“menu-model” property“menu-model” GMenuModel *
The menu model associated with the account.
Flags: Read / Write
“path” property“path” gchar *
The path of the directory where files are located.
Flags: Read / Write
Default value: NULL
“provider” property“provider” CloudProvidersProviderExporter *
The provider associated with the account.
Flags: Read / Write / Construct Only
“status” property“status” CloudProvidersAccountStatus
Status of the account.
Flags: Read / Write
Default value: CLOUD_PROVIDERS_ACCOUNT_STATUS_INVALID
“status-details” property“status-details” gchar *
The details of the account status.
Flags: Read / Write
Default value: NULL
“bus-name” property“bus-name” gchar *
BusName.
Flags: Read / Write / Construct Only
Default value: NULL
“bus-path” property“bus-path” gchar *
BusPath.
Flags: Read / Write / Construct Only
Default value: NULL
“name” property“name” gchar *
The name of the cloud provider.
Flags: Read / Write
Default value: NULL