MonobjcMonobjc Documented Class Library
SetEventHandlerAndSelectorForEventClassAndEventID Method (handler, handleEventSelector, eventClass, eventID)
NamespacesMonobjc.FoundationNSAppleEventManagerSetEventHandlerAndSelectorForEventClassAndEventID(Id, IntPtr, UInt32, UInt32)

Registers the Apple event handler specified by handler for the event specified by eventClass and eventID.

Original signature is '- (void)setEventHandler:(id)handler andSelector:(SEL)handleEventSelector forEventClass:(AEEventClass)eventClass andEventID:(AEEventID)eventID'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void SetEventHandlerAndSelectorForEventClassAndEventID(
	Id handler,
	IntPtr handleEventSelector,
	uint eventClass,
	uint eventID
)
Public Overridable Sub SetEventHandlerAndSelectorForEventClassAndEventID ( _
	handler As Id, _
	handleEventSelector As IntPtr, _
	eventClass As UInteger, _
	eventID As UInteger _
)
public:
virtual void SetEventHandlerAndSelectorForEventClassAndEventID(
	Id^ handler, 
	IntPtr handleEventSelector, 
	unsigned int eventClass, 
	unsigned int eventID
)
Parameters
handler (Id)
MISSING
handleEventSelector (IntPtr)
MISSING
eventClass (UInt32)
MISSING
eventID (UInt32)
MISSING
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.Foundation (Module: Monobjc.Foundation)