Nautilus.PropertiesModelProvider

g GObject.GInterface GObject.GInterface Nautilus.PropertiesModelProvider Nautilus.PropertiesModelProvider GObject.GInterface->Nautilus.PropertiesModelProvider

Implementations:

None

Methods

get_models (files)

Virtual Methods

do_get_models (files)

Properties

None

Signals

None

Fields

None

Class Details

class Nautilus.PropertiesModelProvider
Bases:

GObject.GInterface

Structure:

Nautilus.PropertiesModelProviderInterface

get_models(files)
Parameters:

files ([Nautilus.FileInfo]) – a GLib.List of Nautilus.FileInfo

Returns:

A GLib.List of allocated Nautilus.PropertiesModel models.

Return type:

[Nautilus.PropertiesModel] or None

This function is called by the application when it wants properties models from the extension.

This function is called in the main thread before the Properties are shown, so it should return quickly. The models can be populated and updated asynchronously.

do_get_models(files) virtual
Parameters:

files ([Nautilus.FileInfo]) – a GLib.List of Nautilus.FileInfo

Returns:

A GLib.List of allocated Nautilus.PropertiesModel models.

Return type:

[Nautilus.PropertiesModel] or None

This function is called by the application when it wants properties models from the extension.

This function is called in the main thread before the Properties are shown, so it should return quickly. The models can be populated and updated asynchronously.