• 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: X11 selection mechanism in Cocoa applications
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: X11 selection mechanism in Cocoa applications


  • Subject: Re: X11 selection mechanism in Cocoa applications
  • From: Douglas Davidson <email@hidden>
  • Date: Wed, 10 May 2006 18:06:59 -0700


On May 10, 2006, at 6:00 AM, Arthur VIGAN wrote:

I have been using Linux a lot lately for my work, and I really like the X11 selection mechanism where you can paste the last text selection that you made with the mouse. I was wondering if there is any way tom implement this behavior between Cocoa applications. It would imply to detect when the user makes a selection in the UI and then copy that selection. I suppose this is not easy (if not impossible!). Does someone see how this could be done?


An application can easily be notified of selection changes in its own text views, via the did-change-selection notification.


Douglas Davidson

_______________________________________________
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: 
 >X11 selection mechanism in Cocoa applications (From: Arthur VIGAN <email@hidden>)

  • Prev by Date: Re: Weird error with structs and @try/@catch
  • Next by Date: Re: Weird error with structs and @try/@catch
  • Previous by thread: X11 selection mechanism in Cocoa applications
  • Next by thread: Why does NSImageView Mask the Drop Zone of a Subview
  • Index(es):
    • Date
    • Thread