Virtual Method

CajaWidgetViewProvidersupports_uri

Declaration [src]

gboolean
supports_uri (
  CajaWidgetViewProvider* provider,
  const char* uri,
  GFileType file_type,
  const char* mime_type
)

Description [src]

Whether this widget view works for the uri.

Parameters

uri

Type: const char*

The location to visit.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.
file_type

Type: GFileType

The GFileType for the uri.

mime_type

Type: const char*

The mimetype for the uri.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.

Return value

Type: gboolean

True to use custom widget view, False to ignore, and caja use normal view.