Gdk.Window.AddFilter Method
Adds an event filter to this window, allowing you to intercept events before they reach GDK. This is a low-level operation and makes it easy to break GDK and/or GTK+, so you have to know what you're doing. Pass null for this window to get all events for all windows, instead of events for a specific window.

Syntax

public void AddFilter (FilterFunc function)

Parameters

function
A Gdk.FilterFunc

Remarks

Requirements

Namespace: Gdk
Assembly: gdk-sharp (in gdk-sharp.dll)