Method
WebKit2FileChooserRequestget_mime_types
Declaration [src]
const gchar* const*
webkit_file_chooser_request_get_mime_types (
WebKitFileChooserRequest* request
)
Description [src]
Get the list of MIME types the file chooser dialog should handle.
Get the list of MIME types the file chooser dialog should handle, in the format specified in RFC 2046 for “media types”. Its contents depend on the value of the ‘accept’ attribute for HTML input elements. This function should normally be called before presenting the file chooser dialog to the user, to decide whether to allow the user to select multiple files at once or only one.
Gets property | WebKit2.FileChooserRequest:mime-types |
Return value
Returns: | An array of utf8 |
A
|
|
The array is NULL -terminated. | |
The data is owned by the instance. | |
Each element is a NUL terminated UTF-8 string. |