• 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: __CGEvent structure
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: __CGEvent structure


  • Subject: Re: __CGEvent structure
  • From: Jean-Daniel Dupas <email@hidden>
  • Date: Thu, 26 Jun 2008 15:40:24 +0200


Le 26 juin 08 à 14:53, Stefan Hafeneger a écrit :

Hi,

I would like to know how the __CGEvent (CGEventRef) struct is defined, so if there is any possibility to attach some more data to an low level event than through the functions defined CGEvent.h. Any ideas?

With best wishes, Stefan_______________________________________________

An opaque struct mean… it is opaque. Struct layout is private, can change at any time and relying of such implementation details can result in executables that are binary incompatible with some OS versions. That's to prevent such compatibility issues that struct are opaque (and that ivar are all privates in classes).


If there is not accessor to add additional data, so there is no way to attach something to a CGEvent.



Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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

References: 
 >__CGEvent structure (From: Stefan Hafeneger <email@hidden>)

  • Prev by Date: Re: Adding a new type of NSButton
  • Next by Date: Re: creating 2D graphs
  • Previous by thread: __CGEvent structure
  • Next by thread: NSSpeechSynthesizer and empty strings
  • Index(es):
    • Date
    • Thread