MonobjcMonobjc Documented Class Library
NSWindow..::..WindowShouldPopUpDocumentPathMenuEventHandler Delegate
NamespacesMonobjc.AppKitNSWindowNSWindow..::..WindowShouldPopUpDocumentPathMenuEventHandler

Asks the delegate whether the window displays the title pop-up menu in response to a Command-click or Control-click on its title.

Original signature is '- (BOOL)window:(NSWindow *)window shouldPopUpDocumentPathMenu:(NSMenu *)menu'

Available in Mac OS X v10.5 and later.

Declaration Syntax
C#Visual BasicVisual C++
public delegate bool WindowShouldPopUpDocumentPathMenuEventHandler(
	NSWindow window,
	NSMenu menu
)
Public Delegate Function WindowShouldPopUpDocumentPathMenuEventHandler ( _
	window As NSWindow, _
	menu As NSMenu _
) As Boolean
public delegate bool WindowShouldPopUpDocumentPathMenuEventHandler(
	NSWindow^ window, 
	NSMenu^ menu
)
Parameters
window (NSWindow)
The window whose title the user Command-clicked or Control-clicked.
menu (NSMenu)
The menu the window will display, if allowed. By default, its items are the path components of the file represented by window.
Return Value
YES to allow the display of the title pop-up menu; NO to prevent it.
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)