From 18f8b7ab6417aecf62c7b2a311190c70de12e17c Mon Sep 17 00:00:00 2001 From: Wu Xiaotian Date: Mon, 19 Aug 2019 17:05:03 +0800 Subject: add document for CajaWidgetViewProvider api --- libcaja-extension/caja-widget-view-provider.h | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'libcaja-extension/caja-widget-view-provider.h') diff --git a/libcaja-extension/caja-widget-view-provider.h b/libcaja-extension/caja-widget-view-provider.h index e232d3b8..1b6e7cfb 100644 --- a/libcaja-extension/caja-widget-view-provider.h +++ b/libcaja-extension/caja-widget-view-provider.h @@ -39,11 +39,17 @@ typedef struct _CajaWidgetViewProviderIface CajaWidgetViewProviderIface; /** * CajaWidgetViewProviderIface: - * @g_iface: The parent interface. + * @supports_uri: Whether this extension works for this uri * @get_widget: Returns a #GtkWidget. - * See caja_widget_view_provider_get_widget() for details. + * See caja_widget_view_provider_get_widget() for details. + * @add_file: Adds a file to this widget view. + * @set_location: Set location to this widget view. + * @set_window: Set the main window to this widget view. + * @get_item_count: Return the item count of this widget view. + * @get_first_visible_file: Return the first visible file from this widget view. + * @clear: Clear items in this widget view. * - * Interface for extensions to provide widgets view. + * Interface for extensions to provide widgets view for content. */ struct _CajaWidgetViewProviderIface { GTypeInterface g_iface; -- cgit v1.2.1