• 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: Custom buttons
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Custom buttons


  • Subject: Re: Custom buttons
  • From: j o a r <email@hidden>
  • Date: Sun, 20 Jun 2004 19:26:45 +0200

How about "setImage:"? You shouldn't need to subclass to do this, but
you might not be able to set a custom image for all button styles - for
example I think that the standard Aqua button is using a
NSRoundedBezelStyle, and that it might prevent setting a custom image.
Try with the NSRegularSquareBezelStyle first.

j o a r

On 2004-06-20, at 19.02, Marco Michieli wrote:

> MenuMadness.pbproj example shows how to create buttons from code, but
> I can't figure out how to set a different image for buttons.

[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >Custom buttons (From: Marco Michieli <email@hidden>)

  • Prev by Date: Re: sortedArrayUsingFunction:context: why context is of type void?
  • Next by Date: Re: debugging a static variable
  • Previous by thread: Re: Custom buttons
  • Next by thread: sortedArrayUsingFunction:context: why context is of type void?
  • Index(es):
    • Date
    • Thread