private void OnDockKeyPressEvent(object o, KeyPressEventArgs args) { args.RetVal = args.Event.Key == Gdk.Key.Escape; }