• 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
setNeedsDisplay Equivalent for NSMenuItem?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

setNeedsDisplay Equivalent for NSMenuItem?


  • Subject: setNeedsDisplay Equivalent for NSMenuItem?
  • From: "Chunk 1978" <email@hidden>
  • Date: Sat, 13 Dec 2008 12:18:45 -0500

i've noticed in some menu bar apps like Google's GMail Notifier, the
time since last email check will display when changed while the menu
is open. how can i emulate this behavior in my own NSMenuItem that
changes every 30 seconds (it shows a timer)?  currently it will change
the setTitle of the NSMenuItem, but will only display it's update the
next time the user opens the menu.
_______________________________________________

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

  • Follow-Ups:
    • Re: setNeedsDisplay Equivalent for NSMenuItem?
      • From: "Michael Ash" <email@hidden>
    • Re: setNeedsDisplay Equivalent for NSMenuItem?
      • From: Ashley Clark <email@hidden>
  • Prev by Date: Using NSWorkspace's launchedApplication to detect running App
  • Next by Date: Re: Using NSWorkspace's launchedApplication to detect running App
  • Previous by thread: Re: Using NSWorkspace's launchedApplication to detect running App
  • Next by thread: Re: setNeedsDisplay Equivalent for NSMenuItem?
  • Index(es):
    • Date
    • Thread