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