MonobjcMonobjc Documented Class Library
INSMenuDelegate Interface
NamespacesMonobjc.AppKitINSMenuDelegate

[Missing <summary> documentation for "T:Monobjc.AppKit.INSMenuDelegate"]

Declaration Syntax
C#Visual BasicVisual C++
public interface INSMenuDelegate : IManagedWrapper
Public Interface INSMenuDelegate _
	Inherits IManagedWrapper
public interface class INSMenuDelegate : IManagedWrapper
Members
All MembersMethodsProperties



IconMemberDescription
CastAs<(Of <<'(T>)>>)()()()()
Try to cast the current instance to the given type. The cast is dynamically tested for safety.
(Inherited from IManagedWrapper.)
CastTo<(Of <<'(T>)>>)()()()()
Cast the current instance to the given type. The cast is dynamically tested for safety.
(Inherited from IManagedWrapper.)
ConfinementRectForMenuOnScreen(NSMenu, NSScreen)

Invoked to allow the delegate to specify a display location for the menu.

Original signature is '- (NSRect)confinementRectForMenu:(NSMenu *)menu onScreen:(NSScreen *)screen'

Available in Mac OS X v10.6 and later.


MenuDidClose(NSMenu)

Invoked after a menu closed.

Original signature is '- (void)menuDidClose:(NSMenu *)menu'

Available in Mac OS X v10.5 and later.


MenuHasKeyEquivalentForEventTargetAction(NSMenu, NSEvent, Id%, IntPtr%)

Invoked to allow the delegate to return the target and action for a key-down event.

Original signature is '- (BOOL)menuHasKeyEquivalent:(NSMenu *)menu forEvent:(NSEvent *)event target:(id *)target action:(SEL *)action'

Available in Mac OS X v10.3 and later.


MenuNeedsUpdate(NSMenu)

Invoked when a menu is about to be displayed at the start of a tracking session so the delegate can modify the menu.

Original signature is '- (void)menuNeedsUpdate:(NSMenu *)menu'

Available in Mac OS X v10.3 and later.


MenuUpdateItemAtIndexShouldCancel(NSMenu, NSMenuItem, NSInteger, Boolean)

Invoked to let the delegate update a menu item before it is displayed.

Original signature is '- (BOOL)menu:(NSMenu *)menu updateItem:(NSMenuItem *)item atIndex:(NSInteger)index shouldCancel:(BOOL)shouldCancel'

Available in Mac OS X v10.3 and later.


MenuWillHighlightItem(NSMenu, NSMenuItem)

Invoked to indicates that a menu is about to highlight a given item.

Original signature is '- (void)menu:(NSMenu *)menu willHighlightItem:(NSMenuItem *)item'

Available in Mac OS X v10.5 and later.


MenuWillOpen(NSMenu)

Invoked when a menu is about to open.

Original signature is '- (void)menuWillOpen:(NSMenu *)menu'

Available in Mac OS X v10.5 and later.


NativePointer

Gets the underlying native pointer.

(Inherited from IManagedWrapper.)
NumberOfItemsInMenu(NSMenu)

Invoked when a menu is about to be displayed at the start of a tracking session so the delegate can specify the number of items in the menu.

Original signature is '- (NSInteger)numberOfItemsInMenu:(NSMenu *)menu'

Available in Mac OS X v10.3 and later.


SendMessage(String, array<Object>[]()[][])

Sends a message to this receiver (either a Class or an object instance).

(Inherited from IManagedWrapper.)
SendMessage<(Of <<'(TReturnType>)>>)(String, array<Object>[]()[][])

Sends a message to this receiver (either a Class or an object instance).

(Inherited from IManagedWrapper.)
SendMessageSuper(Class, String, array<Object>[]()[][])

Sends a message to the super instance of this receiver.

(Inherited from IManagedWrapper.)
SendMessageSuper<(Of <<'(TReturnType>)>>)(Class, String, array<Object>[]()[][])

Sends a message to the super instance of this receiver.

(Inherited from IManagedWrapper.)
SendMessageSuperVarArgs(Class, String, array<Object>[]()[][])

Sends a message to the super instance of this receiver.

The last parameter passed must be an object array that contains the variable list of arguments

(Inherited from IManagedWrapper.)
SendMessageSuperVarArgs<(Of <<'(TReturnType>)>>)(Class, String, array<Object>[]()[][])

Sends a message to the super instance of this receiver.

The last parameter passed must be an object array that contains the variable list of arguments

(Inherited from IManagedWrapper.)
SendMessageVarArgs(String, array<Object>[]()[][])

Sends a message to this receiver (either a Class or an object instance).

The last parameter passed must be an object array that contains the variable list of arguments

(Inherited from IManagedWrapper.)
SendMessageVarArgs<(Of <<'(TReturnType>)>>)(String, array<Object>[]()[][])

Sends a message to this receiver (either a Class or an object instance).

The last parameter passed must be an object array that contains the variable list of arguments

(Inherited from IManagedWrapper.)
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.AppKit (Module: Monobjc.AppKit)