Top | ![]() |
![]() |
![]() |
![]() |
GQuark | ide_transfer_error_quark () |
void | ide_transfer_cancel () |
gboolean | ide_transfer_get_completed () |
gboolean | ide_transfer_get_active () |
const gchar * | ide_transfer_get_icon_name () |
void | ide_transfer_set_icon_name () |
gdouble | ide_transfer_get_progress () |
void | ide_transfer_set_progress () |
const gchar * | ide_transfer_get_status () |
void | ide_transfer_set_status () |
const gchar * | ide_transfer_get_title () |
void | ide_transfer_set_title () |
void | ide_transfer_execute_async () |
gboolean | ide_transfer_execute_finish () |
IdeNotification * | ide_transfer_create_notification () |
#define | IDE_TYPE_TRANSFER |
#define | IDE_TRANSFER_ERROR |
struct | IdeTransferClass |
enum | IdeTransferError |
IdeTransfer |
void ide_transfer_set_icon_name (IdeTransfer *self
,const gchar *icon_name
);
void ide_transfer_execute_async (IdeTransfer *self
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
gboolean ide_transfer_execute_finish (IdeTransfer *self
,GAsyncResult *result
,GError **error
);
IdeNotification *
ide_transfer_create_notification (IdeTransfer *self
);
Creates a new IdeNotification that is updated with the progress of the IdeTransfer. This is useful when you need to bridge an IdeTransfer into something that can be displayed to the user.
If the transfer has completed, NULL
is returned.
Since: 3.32
struct IdeTransferClass { IdeObjectClass parent_class; void (*execute_async) (IdeTransfer *self, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data); gboolean (*execute_finish) (IdeTransfer *self, GAsyncResult *result, GError **error); };
“completed”
property“completed” gboolean
If the transfer has completed successfully.
Flags: Read
Default value: FALSE
“icon-name”
property“icon-name” gchar *
The icon to display next to the transfer.
Flags: Read / Write
Default value: "folder-download-symbolic"
“progress”
property“progress” gdouble
The progress for the transfer between 0 adn 1.
Flags: Read / Write
Allowed values: [0,1]
Default value: 0
“status”
property“status” gchar *
The status message for the transfer.
Flags: Read / Write
Default value: NULL
“title”
property“title” gchar *
The title of the transfer.
Flags: Read / Write
Default value: NULL
“cancelled”
signalvoid user_function (IdeTransfer *idetransfer, gpointer user_data)
Flags: Run Last