Function

GtkAccelMapadd_filter

Declaration [src]

void
gtk_accel_map_add_filter (
  const gchar* filter_pattern
)

Description [src]

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_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

Type: const gchar*

A pattern (see GPatternSpec)

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.