Gtk.RecentChooser.prototype.add_filter

function add_filter(filter:Gtk.RecentFilter):void {
    // Gjs wrapper for gtk_recent_chooser_add_filter()
}

Adds filter to the list of Gtk.RecentFilter objects held by chooser.

If no previous filter objects were defined, this function will call Gtk.set_filter.

Since 2.10

filter

a Gtk.RecentFilter