• 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 a delayed popup-menu?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSButton with a delayed popup-menu?


  • Subject: Re: NSButton with a delayed popup-menu?
  • From: Andreas Mayer <email@hidden>
  • Date: Tue, 8 Nov 2005 20:07:39 +0100


Am 08.11.2005 um 14:04 Uhr schrieb Dix Lorenz:

how would I go about creating an NSButton like the Build-button (and others) in XCode? If the user just clicks it, it acts like a regular button, if he clicks and holds a menu pops up?

This button class can do the same:

http://www.harmless.de/cocoa.html#rollover

Displaying images is left as an exercise to the reader. ;-)


Andreas _______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >NSButton with a delayed popup-menu? (From: Dix Lorenz <email@hidden>)

  • Prev by Date: Re: Autoresizing pictures to make them fit in NSTextView
  • Next by Date: Re: Casting anonymous Objects leads to different values on getter functions (while getting no warnings at compile time)
  • Previous by thread: Re: NSButton with a delayed popup-menu?
  • Next by thread: sizeToFit, NSTextField and voodoo text rendering on Mac OS X 10.3.9
  • Index(es):
    • Date
    • Thread