public CellRendererKeyButtons(KeyBindingsPanel panel) { keyBindingsPanel = panel; keyBindingsTree = panel.keyTreeView; keyBindingsTree.ButtonPressEvent += HandleKeyTreeButtonPressEvent; keyBindingsTree.MotionNotifyEvent += HandleKeyTreeMotionNotifyEvent; keyBindingsTree.ScrollEvent += HandleKeyTreeScrollEvent; keyBindingsTree.LeaveNotifyEvent += HandleKeyTreeLeaveNotifyEvent; keyBindingsTree.Unrealized += HandleKeyTreeUnrealized; }
protected override void OnDestroyed() { keyBindingsPanel = null; HideConflictTooltip(); base.OnDestroyed(); }
public CellRendererKeyButtons (KeyBindingsPanel panel) { keyBindingsPanel = panel; keyBindingsTree = panel.keyTreeView; keyBindingsTree.ButtonPressEvent += HandleKeyTreeButtonPressEvent; keyBindingsTree.MotionNotifyEvent += HandleKeyTreeMotionNotifyEvent; keyBindingsTree.ScrollEvent += HandleKeyTreeScrollEvent; keyBindingsTree.LeaveNotifyEvent += HandleKeyTreeLeaveNotifyEvent; keyBindingsTree.Unrealized += HandleKeyTreeUnrealized; }