Nautilus.MenuProvider
Description: Reference for Nautilus.MenuProvider

### Interface

# NautilusMenuProvider

since: 4.0

#### Description

    interface Nautilus.MenuProvider : GObject.Object

No description available.

Available since: 4.0

#### Prerequisite

In order to implement MenuProvider, your type must inherit from`GObject`.

#### Instance methods

###### nautilus_menu_provider_emit_items_updated_signal

Emits `NautilusMenuProvider::items-updated`.

since: 4.0

###### nautilus_menu_provider_get_background_items

No description available.

since: 4.0

###### nautilus_menu_provider_get_file_items

No description available.

since: 4.0

#### Signals

###### Nautilus.MenuProvider::items-updated

No description available.

since: 4.0

#### Interface structure

    struct NautilusMenuProviderInterface {
      GTypeInterface g_iface;
      GList* (* get_file_items) (
        NautilusMenuProvider* provider,
        GList* files
      );
      GList* (* get_background_items) (
        NautilusMenuProvider* provider,
        NautilusFileInfo* current_folder
      );

    }

Interface for extensions to provide additional menu items.

###### Interface members

`g_iface` |
    GTypeInterface
| The parent interface.
`get_file_items` |
    GList* (* get_file_items) (
        NautilusMenuProvider* provider,
        GList* files
      )
| No description available.
`get_background_items` |
    GList* (* get_background_items) (
        NautilusMenuProvider* provider,
        NautilusFileInfo* current_folder
      )
| No description available.

#### Virtual methods

###### Nautilus.MenuProvider.get_background_items

No description available.

since: 4.0

###### Nautilus.MenuProvider.get_file_items

No description available.

since: 4.0