### Virtual Method

# Nautilus PropertiesModelProvider get_models

#### Declaration [src]

    GList*
    get_models (
      NautilusPropertiesModelProvider* provider,
      GList* files
    )

#### Description [src]

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.

#### Parameters

`files`

  Type: A list of `NautilusFileInfo*`

  A `GList` of `NautilusFileInfo`.

  The data is owned by the caller of the function.

#### Return value

Type: A list of `NautilusPropertiesModel*`

A `GList` of allocated `NautilusPropertiesModel` models.

The caller of the function takes ownership of the data, and is responsible for freeing it.
The return value can be `NULL`.