## nautilus-menu-provider nautilus-menu-provider |

## Synopsis

                        NautilusMenuProvider;
    struct              NautilusMenuProviderIface;
    GList *             nautilus_menu_provider_get_file_items
                                                            (NautilusMenuProvider *provider,
                                                             GtkWidget *window,
                                                             GList *files);
    GList *             nautilus_menu_provider_get_background_items
                                                            (NautilusMenuProvider *provider,
                                                             GtkWidget *window,
                                                             NautilusFileInfo *current_folder);
    GList *             nautilus_menu_provider_get_toolbar_items
                                                            (NautilusMenuProvider *provider,
                                                             GtkWidget *window,
                                                             NautilusFileInfo *current_folder);
    void                nautilus_menu_provider_emit_items_updated_signal
                                                            (NautilusMenuProvider *provider);

## Object Hierarchy

      GInterface
       +----NautilusMenuProvider

## Prerequisites

NautilusMenuProvider requires GObject.

## Signals

      "items-updated"                                  : Run Last

## Description

## Details

### NautilusMenuProvider

    typedef struct _NautilusMenuProvider NautilusMenuProvider;

### struct NautilusMenuProviderIface

    struct NautilusMenuProviderIface {
    	GTypeInterface g_iface;

    	GList *(*get_file_items)       (NautilusMenuProvider *provider,
    					GtkWidget            *window,
    					GList                *files);
    	GList *(*get_background_items) (NautilusMenuProvider *provider,
    					GtkWidget            *window,
    					NautilusFileInfo     *current_folder);
    	GList *(*get_toolbar_items)    (NautilusMenuProvider *provider,
    					GtkWidget            *window,
    				        NautilusFileInfo     *current_folder);
    };

### nautilus_menu_provider_get_file_items ()

    GList *             nautilus_menu_provider_get_file_items
                                                            (NautilusMenuProvider *provider,
                                                             GtkWidget *window,
                                                             GList *files);

### nautilus_menu_provider_get_background_items ()

    GList *             nautilus_menu_provider_get_background_items
                                                            (NautilusMenuProvider *provider,
                                                             GtkWidget *window,
                                                             NautilusFileInfo *current_folder);

### nautilus_menu_provider_get_toolbar_items ()

    GList *             nautilus_menu_provider_get_toolbar_items
                                                            (NautilusMenuProvider *provider,
                                                             GtkWidget *window,
                                                             NautilusFileInfo *current_folder);

### nautilus_menu_provider_emit_items_updated_signal ()

    void                nautilus_menu_provider_emit_items_updated_signal
                                                            (NautilusMenuProvider *provider);

## Signal Details

### The `"items-updated"` signal

    void                user_function                      (NautilusMenuProvider *nautilusmenuprovider,
                                                            gpointer              user_data)                 : Run Last

`nautilusmenuprovider` : | the object which received the signal.
`user_data` : | user data set when the signal handler was connected.