Reputation: 2322
i want to make on/off gradient NSButton
but with blue highlight like NSTabView
select buttons.
Is it possible to make this easy way?
Or i should draw this manually?
if i should draw this manually what is the best way to do this? (CIFilter
or just NSGradient
)
thanks.
Upvotes: 1
Views: 1836
Reputation: 976
To do that in IB(Interface Builder) you simply need set the button's key equivalent to "Return" using the popup menu (or type in \R into the key equivalent field).
Upvotes: 1
Reputation: 96323
You will have to make that yourself with a custom subclass of NSButtonCell.
Upvotes: 0