Gtk.FileFilter.prototype.get_needed

function get_needed():Gtk.FileFilterFlags {
    // Gjs wrapper for gtk_file_filter_get_needed()
}

Gets the fields that need to be filled in for the structure passed to Gtk.FileFilter.prototype.filter

This function will not typically be used by applications; it is intended principally for use in the implementation of Gtk.FileChooser.

Since 2.4

Returns

bitfield of flags indicating needed fields when calling Gtk.FileFilter.prototype.filter