get_mime_types_filter


Description:

public unowned FileFilter get_mime_types_filter ()

Get the filter currently associated with the request.

Get the filter currently associated with the request, ready to be used by FileChooser. This function should normally be called before presenting the file chooser dialog to the user, to decide whether to apply a filter so the user would not be allowed to select files with other MIME types.

See get_mime_types if you are interested in getting the list of accepted MIME types.

Parameters:

this

a FileChooserRequest

Returns:

a FileFilter if a list of accepted MIME types is defined or null otherwise. The returned object is owned by WebKit should not be modified or freed.