Re: Trouble with NSButtonCell

2009-09-03 Thread Corbin Dunn
On Sep 3, 2009, at 7:58 AM, Scott Andrew wrote: I think you need to create a subclass of NSButton that uses your cell. Then use setAction and setDoubleAction. Creating a subclass of NSButton isn't necessary; the custom cell can be set in IB (Leopard+). Dave needs to subclass NSButtonCell

Re: Trouble with NSButtonCell

2009-09-03 Thread Scott Andrew
I think you need to create a subclass of NSButton that uses your cell. Then use setAction and setDoubleAction. Scott On Sep 3, 2009, at 7:41 AM, Dave DeLong wrote: Unfortunately, "setDoubleAction:" is not a method on NSCell or any of its subclasses (except NSPathCell). Really all the BWTo

Re: Trouble with NSButtonCell

2009-09-03 Thread Dave DeLong
Unfortunately, "setDoubleAction:" is not a method on NSCell or any of its subclasses (except NSPathCell). Really all the BWToolkit is doing is skinning. As far as I can tell from browsing through the code, it's not actually changing functionality of the controls. Dave On Sep 3, 2009, at

Re: Trouble with NSButtonCell

2009-09-03 Thread Reinhard Segeler
Don't know anything about the toolkit you're using, but I would use setAction: for single click and setDoubleAction: for double click,... Hope this helps. Reinhard Am 03.09.2009 um 05:41 schrieb Dave DeLong: Hi everyone, I'm using Brandon's excellent BWToolkit in a project of mine right n

Trouble with NSButtonCell

2009-09-02 Thread Dave DeLong
Hi everyone, I'm using Brandon's excellent BWToolkit in a project of mine right now. I'm specifically using the BWTransparentTableView and BWTransparentCheckBoxCell classes. I'd like to customize the CheckBoxCell to fulfill the following requirements: 1. Only invoke the target's action