help-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSActionCell help


From: Chad Hardin
Subject: NSActionCell help
Date: Sun, 18 May 2003 18:05:29 -0700
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030505

Ok, looking for some help here.

I have an NSMatrix full of DockTileCell's, which are subclassed from
NSActionCell.  I'm doing everything progranatically, no GORM or
anything.  I want to handle mouse clicks in my DockTileCell's.  I know
and understand that I can use the NSCell startTrackingAt and variants to
see where the mouse is moving, no problem there, I am getting those.
 However, how would I set it up so that I can detect double clicks in my
cells?  I see that NSMatrix has the setDoubleAction, but I'm not really
sure how to set it up, as I'm doing this stuff programatically.   Maybe
I should reimplement trackMouse:inRect:ofView:untilMouseUp instead of
NSMatrix's setDoubleAction? Can someone help me with this?

Much apreciated!

Chad






reply via email to

[Prev in Thread] Current Thread [Next in Thread]