NautilusPropertyPageProvider

NautilusPropertyPageProvider — Interface to provide additional property pages

Synopsis

#include <libnautilus-extension/nautilus-property-page-provider.h>

                    NautilusPropertyPageProvider;
struct              NautilusPropertyPageProviderIface;
GList *             nautilus_property_page_provider_get_pages
                                                        (NautilusPropertyPageProvider *provider,
                                                         GList *files);

Object Hierarchy

  GInterface
   +----NautilusPropertyPageProvider

Prerequisites

NautilusPropertyPageProvider requires GObject.

Description

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

Details

NautilusPropertyPageProvider

typedef struct _NautilusPropertyPageProvider NautilusPropertyPageProvider;

struct NautilusPropertyPageProviderIface

struct NautilusPropertyPageProviderIface {
	GTypeInterface g_iface;

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

Interface for extensions to provide additional property pages.

GTypeInterface g_iface;

The parent interface.

get_pages ()

Returns a GList of NautilusPropertyPage. See nautilus_property_page_provider_get_pages() for details.

nautilus_property_page_provider_get_pages ()

GList *             nautilus_property_page_provider_get_pages
                                                        (NautilusPropertyPageProvider *provider,
                                                         GList *files);

This function is called by Nautilus 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.

provider :

a NautilusPropertyPageProvider

files :

a GList of NautilusFileInfo. [element-type NautilusFileInfo]

Returns :

A GList of allocated NautilusPropertyPage items. [element-type NautilusPropertyPage][transfer full]