add_filter
function add_filter(filter_pattern:String):void { // Gjs wrapper for gtk_accel_map_add_filter() }
Adds a filter to the global list of accel path filters.
Accel map entries whose accel path matches one of the filters are skipped by Gtk.foreach.
This function is intended for GTK+ modules that create their own menus, but don't want them to be saved into the applications accelerator map dump.
- filter_pattern
a pattern (see GLib.PatternSpec)