MonobjcMonobjc Documented Class Library
WindowShouldPopUpDocumentPathMenu Method (window, menu)
NamespacesMonobjc.AppKitINSWindowDelegateWindowShouldPopUpDocumentPathMenu(NSWindow, NSMenu)

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++
bool WindowShouldPopUpDocumentPathMenu(
	NSWindow window,
	NSMenu menu
Function WindowShouldPopUpDocumentPathMenu ( _
	window As NSWindow, _
	menu As NSMenu _
) As Boolean
bool WindowShouldPopUpDocumentPathMenu(
	NSWindow^ window, 
	NSMenu^ menu
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)