• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSButton with image
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSButton with image


  • Subject: Re: NSButton with image
  • From: John Johnson <email@hidden>
  • Date: Mon, 14 Jun 2010 07:58:44 -0500

> If all I want is an image that acts like a button, do I need to
> subclass NSButton? I just want my button to show only my image and no
> "Apple" style button backgrounds.

All this is easily found in the NSButton and NSButtonCell documentation. I believe what you are looking for is setImagePosition:NSImageOnly, setBordered:NO, setButtonType:NSMomentaryChangeButton.
In InterfaceBuilder, all these options are available too. Image position will be the button showing just the square, the bordered option is a checkbox, etc._______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >NSButton with image (From: Adam Gerson <email@hidden>)

  • Prev by Date: Re: NSButton with image
  • Next by Date: NSAttributedString with columns
  • Previous by thread: Re: NSButton with image
  • Next by thread: NSAttributedString with columns
  • Index(es):
    • Date
    • Thread