Nautilus.InfoProvider

g GObject.GInterface GObject.GInterface Nautilus.InfoProvider Nautilus.InfoProvider GObject.GInterface->Nautilus.InfoProvider

Implementations:

None

Methods

class

update_complete_invoke (update_complete, provider, handle, result)

cancel_update (handle)

update_file_info (file, update_complete)

Virtual Methods

do_cancel_update (handle)

do_update_file_info (file, update_complete)

Properties

None

Signals

None

Fields

None

Class Details

class Nautilus.InfoProvider
Bases:

GObject.GInterface

Structure:

Nautilus.InfoProviderInterface

classmethod update_complete_invoke(update_complete, provider, handle, result)
Parameters:
cancel_update(handle)
Parameters:

handle (Nautilus.OperationHandle) – the opaque Nautilus.OperationHandle returned from a previous call to Nautilus.InfoProvider.update_file_info().

update_file_info(file, update_complete)
Parameters:
Returns:

A Nautilus.OperationResult.

handle:

an opaque Nautilus.OperationHandle that must be set when returning Nautilus.OperationResult.IN_PROGRESS.

Return type:

(Nautilus.OperationResult, handle: Nautilus.OperationHandle or None)

do_cancel_update(handle) virtual
Parameters:

handle (Nautilus.OperationHandle) – the opaque Nautilus.OperationHandle returned from a previous call to Nautilus.InfoProvider.update_file_info().

Cancels a previous call to Nautilus.InfoProvider.update_file_info(). See Nautilus.InfoProvider.cancel_update() for details.

do_update_file_info(file, update_complete) virtual
Parameters:
Returns:

A Nautilus.OperationResult.

handle:

an opaque Nautilus.OperationHandle that must be set when returning Nautilus.OperationResult.IN_PROGRESS.

Return type:

(Nautilus.OperationResult, handle: Nautilus.OperationHandle or None)

Returns a Nautilus.OperationResult. See Nautilus.InfoProvider.update_file_info() for details.