add_filter


Description:

public static void add_filter (string filter_pattern)

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 @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:

filter_pattern

a pattern (see PatternSpec)