protected override bool OnButtonPressEvent (Gdk.EventButton e) { if (e.Button == 3) { StatusBox.ShowNavigationBarContextMenu (); return true; } if (e.Type == Gdk.EventType.ButtonPress) { if (window != null) { DestroyWindow (); } else { this.GrabFocus (); if (DataProvider != null) { DataProvider.Reset (); if (DataProvider.IconCount > 0) { window = new DropDownBoxListWindow (this); PositionListWindow (); window.SelectItem (CurrentItem); } } } } return base.OnButtonPressEvent (e); }