BaulPropertyPageProvider: Baul Extension Reference Manual

## BaulPropertyPageProvider BaulPropertyPageProvider — Interface to provide additional property pages |

## Functions

GList * | baul_property_page_provider_get_pages ()

## Types and Values

| BaulPropertyPageProvider
struct | BaulPropertyPageProviderIface

## Object Hierarchy

        GInterface
        ╰── BaulPropertyPageProvider

## Prerequisites

BaulPropertyPageProvider requires GObject.

## Includes

    #include <libbaul-extension/baul-property-page-provider.h>

## Description

BaulPropertyPageProvider allows extension to provide additional pages for the file properties dialog.

## Functions

### baul_property_page_provider_get_pages ()

    GList *
    baul_property_page_provider_get_pages (BaulPropertyPageProvider *provider,
                                           GList *files);

This function is called by Baul when it wants property page items from the extension.

This function is called in the main thread before a property page is shown, so it should return quickly.

#### Parameters

provider | a BaulPropertyPageProvider |
files | a GList of BaulFileInfo. | [element-type BaulFileInfo]

#### Returns

A GList of allocated BaulPropertyPage items.

[element-type BaulPropertyPage][transfer full]

## Types and Values

### BaulPropertyPageProvider

    typedef struct _BaulPropertyPageProvider BaulPropertyPageProvider;

### struct BaulPropertyPageProviderIface

    struct BaulPropertyPageProviderIface {
        GTypeInterface g_iface;

        GList *(*get_pages) (BaulPropertyPageProvider *provider,
                             GList                    *files);
    };

Interface for extensions to provide additional property pages.

#### Members

`get_pages` () | Returns a GList of BaulPropertyPage. See `baul_property_page_provider_get_pages()` for details. |