Top |
gboolean | caja_widget_view_provider_supports_uri () |
GtkWidget * | caja_widget_view_provider_get_widget () |
void | caja_widget_view_provider_set_location () |
void | caja_widget_view_provider_set_window () |
void | caja_widget_view_provider_add_file () |
gchar * | caja_widget_view_provider_get_first_visible_file () |
guint | caja_widget_view_provider_get_item_count () |
void | caja_widget_view_provider_clear () |
gboolean caja_widget_view_provider_supports_uri (CajaWidgetViewProvider *provider
,const char *uri
,GFileType file_type
,const char *mime_type
);
Whether this widget view works for the uri.
GtkWidget *
caja_widget_view_provider_get_widget (CajaWidgetViewProvider *provider
);
Return a GtkWidget to show the current location content.
void caja_widget_view_provider_set_location (CajaWidgetViewProvider *provider
,const char *location
);
Set the location of this CajaWidgetViewProvider.
void caja_widget_view_provider_set_window (CajaWidgetViewProvider *provider
,GtkWindow *window
);
Set parent GtkWindow of this CajaWidgetViewProvider.
void caja_widget_view_provider_add_file (CajaWidgetViewProvider *provider
,CajaFile *file
,CajaFile *directory
);
Add a file of this location into the widget view.
gchar *
caja_widget_view_provider_get_first_visible_file
(CajaWidgetViewProvider *provider
);
Return the first visible file. When use start visit the location, the caja's status is waiting, until get the first visible file.
guint
caja_widget_view_provider_get_item_count
(CajaWidgetViewProvider *provider
);
void
caja_widget_view_provider_clear (CajaWidgetViewProvider *provider
);
Clear the content of this widget view.
struct CajaWidgetViewProviderIface { GTypeInterface g_iface; gboolean (*supports_uri) (CajaWidgetViewProvider *provider, const char *uri, GFileType file_type, const char *mime_type); GtkWidget* (*get_widget) (CajaWidgetViewProvider *provider); void (*add_file) (CajaWidgetViewProvider *provider, CajaFile *file, CajaFile *directory); void (*set_location) (CajaWidgetViewProvider *provider, const char *location); void (*set_window) (CajaWidgetViewProvider *provider, GtkWindow *window); guint (*get_item_count) (CajaWidgetViewProvider *provider); gchar* (*get_first_visible_file) (CajaWidgetViewProvider *provider); void (*clear) (CajaWidgetViewProvider *provider); };
Interface for extensions to provide widgets view for content.
Whether this extension works for this uri |
||
Returns a GtkWidget.
See |
||
Adds a file to this widget view. |
||
Set location to this widget view. |
||
Set the main window to this widget view. |
||
Return the item count of this widget view. |
||
Return the first visible file from this widget view. |
||
Clear items in this widget view. |