Top |
GList * | caja_menu_provider_get_file_items () |
GList * | caja_menu_provider_get_background_items () |
GList * | caja_menu_provider_get_toolbar_items () |
void | caja_menu_provider_emit_items_updated_signal () |
CajaMenuProvider allows extension to provide additional menu items in the file manager menus.
GList * caja_menu_provider_get_file_items (CajaMenuProvider *provider
,GtkWidget *window
,GList *files
);
provider |
||
window |
the parent GtkWidget window |
|
files |
a list of CajaFileInfo. |
[element-type CajaFileInfo] |
GList * caja_menu_provider_get_background_items (CajaMenuProvider *provider
,GtkWidget *window
,CajaFileInfo *current_folder
);
GList * caja_menu_provider_get_toolbar_items (CajaMenuProvider *provider
,GtkWidget *window
,CajaFileInfo *current_folder
);
void
caja_menu_provider_emit_items_updated_signal
(CajaMenuProvider *provider
);
struct CajaMenuProviderIface { GTypeInterface g_iface; GList *(*get_file_items) (CajaMenuProvider *provider, GtkWidget *window, GList *files); GList *(*get_background_items) (CajaMenuProvider *provider, GtkWidget *window, CajaFileInfo *current_folder); GList *(*get_toolbar_items) (CajaMenuProvider *provider, GtkWidget *window, CajaFileInfo *current_folder); };
Interface for extensions to provide additional menu items.
Returns a GList of CajaMenuItem.
See |
||
Returns a GList of CajaMenuItem.
See |
||
Returns a GList of CajaMenuItem.
See |
“items-updated”
signalvoid user_function (CajaMenuProvider *cajamenuprovider, gpointer user_data)
Flags: Run Last