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

Custom buttons


  • Subject: Custom buttons
  • From: Marco Michieli <email@hidden>
  • Date: Sun, 20 Jun 2004 19:02:53 +0200

I'm trying to figure out how to create nice custom buttons as Safari/iTunes custom buttons; I don't need any special behaviour, but I would like to use a different shape/image then standard buttons.

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

There's any example about that? I'm supposed to subclass NSButton? or NSButtonCell? which methods must be overridden by NSButton/NSButtonCell subclasses (if that is needed to create custom buttons)?

Thanks for your help

Ciao

Marco
_______________________________________________
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.


  • Follow-Ups:
    • Re: Custom buttons
      • From: j o a r <email@hidden>
    • Re: Custom buttons
      • From: Oliver Cameron <email@hidden>
  • Prev by Date: Re: Some Questions...
  • Next by Date: sortedArrayUsingFunction:context: why context is of type void?
  • Previous by thread: Re: Checking For Keys
  • Next by thread: Re: Custom buttons
  • Index(es):
    • Date
    • Thread