Nautilus.MenuProvider

g GObject.GInterface GObject.GInterface Nautilus.MenuProvider Nautilus.MenuProvider GObject.GInterface->Nautilus.MenuProvider

Implementations:

None

Methods

emit_items_updated_signal ()

get_background_items (current_folder)

get_file_items (files)

Virtual Methods

do_get_background_items (current_folder)

do_get_file_items (files)

Properties

None

Signals

Name

Short Description

items-updated

Fields

None

Class Details

class Nautilus.MenuProvider
Bases:

GObject.GInterface

Structure:

Nautilus.MenuProviderInterface

emit_items_updated_signal()

Emits Nautilus.MenuProvider ::items-updated.

get_background_items(current_folder)
Parameters:

current_folder (Nautilus.FileInfo) – the folder for which background items are requested

Returns:

the provided list of Nautilus.MenuItem.

Return type:

[Nautilus.MenuItem] or None

get_file_items(files)
Parameters:

files ([Nautilus.FileInfo]) – a list of Nautilus.FileInfo

Returns:

the provided list of Nautilus.MenuItem.

Return type:

[Nautilus.MenuItem] or None

do_get_background_items(current_folder) virtual
Parameters:

current_folder (Nautilus.FileInfo) – the folder for which background items are requested

Returns:

the provided list of Nautilus.MenuItem.

Return type:

[Nautilus.MenuItem] or None

Returns a GLib.List of Nautilus.MenuItem. See Nautilus.MenuProvider.get_background_items() for details.

do_get_file_items(files) virtual
Parameters:

files ([Nautilus.FileInfo]) – a list of Nautilus.FileInfo

Returns:

the provided list of Nautilus.MenuItem.

Return type:

[Nautilus.MenuItem] or None

Returns a GLib.List of Nautilus.MenuItem. See Nautilus.MenuProvider.get_file_items() for details.

Signal Details

Nautilus.MenuProvider.signals.items_updated(menu_provider)
Signal Name:

items-updated

Flags:

RUN_LAST

Parameters:

menu_provider (Nautilus.MenuProvider) – The object which received the signal