Functions

  file_info_create (location)
  file_info_create_for_uri (uri)
  file_info_list_copy (files)
  file_info_list_free (files)
  file_info_lookup (location)
  file_info_lookup_for_uri (uri)
  info_provider_update_complete_invoke (update_complete, provider, handle, result)
  module_initialize (module)
  module_list_types ()
  module_shutdown ()

Details

Nautilus.file_info_create(location)
Parameters:location (Gio.File) – the location to create the file info for
Returns:a Nautilus.FileInfo
Return type:Nautilus.FileInfo
Nautilus.file_info_create_for_uri(uri)
Parameters:uri (str) – the URI to lookup the file info for
Returns:a Nautilus.FileInfo
Return type:Nautilus.FileInfo
Nautilus.file_info_list_copy(files)
Parameters:files ([Nautilus.FileInfo]) – the files to copy
Returns:a copy of files. Use Nautilus.FileInfo.list_free to free the list and unref its contents.
Return type:[Nautilus.FileInfo]
Nautilus.file_info_list_free(files)
Parameters:files ([Nautilus.FileInfo]) – a list created with Nautilus.FileInfo.list_copy
Nautilus.file_info_lookup(location)
Parameters:location (Gio.File) – the location for which to look up a corresponding Nautilus.FileInfo object
Returns:a Nautilus.FileInfo
Return type:Nautilus.FileInfo
Nautilus.file_info_lookup_for_uri(uri)
Parameters:uri (str) – the URI to lookup the file info for
Returns:a Nautilus.FileInfo
Return type:Nautilus.FileInfo
Nautilus.info_provider_update_complete_invoke(update_complete, provider, handle, result)
Parameters:
Nautilus.module_initialize(module)
Parameters:module (GObject.TypeModule) – a GObject.TypeModule used in type registration

Called when the extension is begin loaded to register the types it exports and to perform other initializations.

Nautilus.module_list_types()
Returns:array of GObject.GType *
Return type:types: [GObject.GType]

Called after the extension has been initialized and has registered all the types it exports, to load them into Nautilus.

Nautilus.module_shutdown()

Called when the extension is being unloaded.