|
From: | Quentin Mathé |
Subject: | Re: [Gnustep-cvs] gnustep/core/gui ChangeLog Source/NSTableView.m |
Date: | Wed, 6 Jul 2005 02:02:28 +0200 |
Le 3 juil. 05 à 01:33, Fred Kiefer a écrit :
Hi Fred, I would say no, because custom cells like button cells or popup menu cells need to be notified immediately on mouseDown and not on mouseDragged or mouseUp (passing last recent mouseDown event doesn't workaround this point). To summarize a bit, I think when dragging occurs we have two cases to handle directly with mouseDown event : 1) clicked cells return NO to trackMouseMouse:inRect:ofView:untilMouseUp: --> table view manages dragging 2) clicked cells return YES to trackMouseMouse:inRect:ofView:untilMouseUp: --> table view doesn't do anything For 1) more precisely : - clicked cell is already selected --> table view initiates "real" dragging - clicked cell isn't selected --> table view initiates selection change by "dragging" Quentin. |
[Prev in Thread] | Current Thread | [Next in Thread] |