FROM : Adam R. Maxwell
DATE : Mon Nov 19 04:43:34 2007
On Nov 18, 2007, at 7:34 PM, John Stiles wrote:
> How does one do it? The NSButton docs list many different types of
> bezel, but none seem to correspond to a checkbox type. I can easily
> create one in IB, but that doesn't give me enough info to recreate
> it programatically. (I even tried examining it with F-Script
> Anywhere, but that didn't reveal anything obvious either.)
I think you want -[NSButton setButtonType:NSSwitchButton].
--
adam
DATE : Mon Nov 19 04:43:34 2007
On Nov 18, 2007, at 7:34 PM, John Stiles wrote:
> How does one do it? The NSButton docs list many different types of
> bezel, but none seem to correspond to a checkbox type. I can easily
> create one in IB, but that doesn't give me enough info to recreate
> it programatically. (I even tried examining it with F-Script
> Anywhere, but that didn't reveal anything obvious either.)
I think you want -[NSButton setButtonType:NSSwitchButton].
--
adam






Cocoa mail archive

