summaryrefslogtreecommitdiff
path: root/libcaja-extension/caja-widget-view-provider.h
diff options
context:
space:
mode:
authorWu Xiaotian <[email protected]>2019-08-19 17:05:03 +0800
committerraveit65 <[email protected]>2019-08-26 14:21:14 +0200
commit18f8b7ab6417aecf62c7b2a311190c70de12e17c (patch)
tree18479d6d606f075c2afa18550cdee3be021123c8 /libcaja-extension/caja-widget-view-provider.h
parent00f68491bad7d3cd06e013f3bdba4282f9afcf62 (diff)
downloadcaja-18f8b7ab6417aecf62c7b2a311190c70de12e17c.tar.bz2
caja-18f8b7ab6417aecf62c7b2a311190c70de12e17c.tar.xz
add document for CajaWidgetViewProvider api
Diffstat (limited to 'libcaja-extension/caja-widget-view-provider.h')
-rw-r--r--libcaja-extension/caja-widget-view-provider.h12
1 files changed, 9 insertions, 3 deletions
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;