FileFilter#
- class ignis.widgets.Widget.FileFilter(mime_types: list[str], **kwargs)#
Bases:
Gtk.FileFilter
Note
This is not a regular widget. It doesn't support common widget properties and cannot be added as a child to a container.
A file filter. Intended for use in
FileDialog
. Uses MIME types, here is a list of common MIME types.Widget.FileFilter( mime_types=["image/jpeg", "image/png"], default=True, name="Images JPEG/PNG", )