add_mime_types


Description:

[ Version ( since = "4.22" ) ]
public void add_mime_types (string[] mime_types)

Adds a rule allowing a given array of mime types.

It can for example be used with Gly.Loader.get_mime_types .

This is equivalent to calling [method@Gtk.FileFilter.add_mime_type] for all the supported mime types.

Parameters:

this

a file filter

mime_types

a null-terminated array of mime types