AccelMap.addFilter

void addFilter(string filterPattern)

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.accel_map.AccelMap.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.

Parameters

filterPatterna pattern (see #GPatternSpec)