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

Re: XCode style toolbar buttons


  • Subject: Re: XCode style toolbar buttons
  • From: Ondra Cada <email@hidden>
  • Date: Sat, 22 May 2004 23:57:45 +0200

Moray,

On 22.5.2004, at 22:22, Moray Taylor wrote:

> ...telling the difference between a click, and a click-hold which I
> don't get, any tips?

The principle is, at mouseDown you start a timer, at mouseUp you cancel
the timer and perform the action, at timer fire you show the menu
(which as a sideeeffect would cancel the action, of course).

At the moment I am not sure how much of this funtionality you find in
Cocoa for free and what part you have to implement yourself.
---
Ondra Hada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc

[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: 
 >XCode style toolbar buttons (From: Moray Taylor <email@hidden>)

  • Prev by Date: Re: Avoiding == and = mixup in if statements
  • Next by Date: Re: Bindings doesn't update model object.
  • Previous by thread: XCode style toolbar buttons
  • Next by thread: Programming contest: ICFP, 4th June 2004
  • Index(es):
    • Date
    • Thread