Top |
CloudProvidersAccountExporterCloudProvidersAccountExporter — Base object for representing a cloud providers account |
GActionGroup * | action-group | Read / Write |
char * | bus-name | Read / Write / Construct Only |
GIcon * | icon | Read / Write |
GMenuModel * | menu-model | Read / Write |
char * | name | Read / Write |
char * | path | Read / Write |
CloudProvidersProviderExporter * | provider | Read / Write / Construct Only |
CloudProvidersAccountStatus | status | Read / Write |
char * | status-details | 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 chosen 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 GActionGroup. 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; };
“action-group”
property“action-group” GActionGroup *
The action group associated with the account and menu model.
Owner: CloudProvidersAccountExporter
Flags: Read / Write
“bus-name”
property “bus-name” char *
The bus name of the account.
Owner: CloudProvidersAccountExporter
Flags: Read / Write / Construct Only
Default value: NULL
“icon”
property“icon” GIcon *
The icon representing the account.
Owner: CloudProvidersAccountExporter
Flags: Read / Write
“menu-model”
property“menu-model” GMenuModel *
The menu model associated with the account.
Owner: CloudProvidersAccountExporter
Flags: Read / Write
“name”
property “name” char *
The name of the account.
Owner: CloudProvidersAccountExporter
Flags: Read / Write
Default value: NULL
“path”
property “path” char *
The path of the directory where files are located.
Owner: CloudProvidersAccountExporter
Flags: Read / Write
Default value: NULL
“provider”
property“provider” CloudProvidersProviderExporter *
The provider associated with the account.
Owner: CloudProvidersAccountExporter
Flags: Read / Write / Construct Only
“status”
property“status” CloudProvidersAccountStatus
Status of the account.
Owner: CloudProvidersAccountExporter
Flags: Read / Write
Default value: CLOUD_PROVIDERS_ACCOUNT_STATUS_INVALID