Dazzle.FileTransfer¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/en |
The transfer flags for the operation |
||
r |
The transfer progress, from 0 to 1 |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent_instance |
r |
Class Details¶
- class Dazzle.FileTransfer(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new()¶
- Return type:
- execute(io_priority, cancellable)¶
- Parameters:
io_priority (
int
) –cancellable (
Gio.Cancellable
orNone
) –
- Raises:
- Return type:
- execute_async(io_priority, cancellable, callback, *user_data)¶
- Parameters:
io_priority (
int
) –cancellable (
Gio.Cancellable
orNone
) –callback (
Gio.AsyncReadyCallback
orNone
) –
- execute_finish(result)¶
- Parameters:
result (
Gio.AsyncResult
) –- Raises:
- Return type:
- get_flags()¶
- Return type:
- set_flags(flags)¶
- Parameters:
flags (
Dazzle.FileTransferFlags
) –
- stat()¶
- Returns:
- Return type:
stat_buf:
Dazzle.FileTransferStat
Gets statistics about the transfer progress.
New in version 3.28.
Property Details¶
- Dazzle.FileTransfer.props.flags¶
- Name:
flags
- Type:
- Default Value:
- Flags:
The transfer flags for the operation