RB.AsyncCopy

g GObject.Object GObject.Object RB.AsyncCopy RB.AsyncCopy GObject.Object->RB.AsyncCopy

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new ()

cancel ()

get_error ()

set_progress (callback, *user_data)

start (src, dest, callback, *user_data)

Virtual Methods

Inherited:

GObject.Object (7)

Properties

None

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent

GObject.Object

r

Class Details

class RB.AsyncCopy(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

RB.AsyncCopyClass

classmethod new()
Returns:

RB.AsyncCopy instance

Return type:

RB.AsyncCopy

Creates and returns a new RB.AsyncCopy instance.

cancel()

Cancels the loading operation, ensuring that the callback will not be called again.

get_error()
Returns:

copy error or None

Return type:

GLib.Error

If an error has occurred that prevents the copy from proceeding, this function will return a GLib.Error, otherwise None.

set_progress(callback, *user_data)
Parameters:
start(src, dest, callback, *user_data)
Parameters:

Starts copying src to dest, calling callback on completion or error.