Nautilus.PropertiesModelProvider¶
- Implementations:
None
Methods¶
|
Virtual Methods¶
|
Properties¶
None
Signals¶
None
Fields¶
None
Class Details¶
- class Nautilus.PropertiesModelProvider¶
- Bases:
- Structure:
Interface to provide additional properties.
NautilusPropertiesModelProviderallows extensions to provide additional information for the file properties.- get_models(files)¶
- Parameters:
files ([
Nautilus.FileInfo]) – a list of files- Returns:
a list of models.
- Return type:
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 list of files- Returns:
a list of models.
- Return type:
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.