• 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
How OS X's system-wide "look up" feature is implemented?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How OS X's system-wide "look up" feature is implemented?


  • Subject: How OS X's system-wide "look up" feature is implemented?
  • From: Nick <email@hidden>
  • Date: Fri, 16 Oct 2015 19:11:53 +0300

When we right-click on any selected text (or tap with three fingers), a
popover view shows up, displaying info about the text selected (a
dictionary definition, a wikipedia article).
This function has been available on OS X since Lion.

Is it possible to add my own "widget/button/tab" to this popover somehow?
Even using an undocumented way? There should be... OS X does it somehow.

And if not... Is it possible to somehow grab the currently selected text,
like the Look up menu context item does? It doesn't seem to be using a
Service (from the Services menu).

Thank you for any suggestions!
_______________________________________________

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: How OS X's system-wide "look up" feature is implemented?
      • From: Jens Alfke <email@hidden>
    • Re: How OS X's system-wide "look up" feature is implemented?
      • From: Seth Willits <email@hidden>
  • Prev by Date: Re: App Transport Security has blocked a cleartext HTTP for a local IP
  • Next by Date: Re: How OS X's system-wide "look up" feature is implemented?
  • Previous by thread: Why no scroll-to-top gesture?
  • Next by thread: Re: How OS X's system-wide "look up" feature is implemented?
  • Index(es):
    • Date
    • Thread