MonobjcMonobjc Documented Class Library
RunOperationModalForWindowDelegateDidRunSelectorContextInfo Method (docWindow, delegate, didRunSelector, contextInfo)
NamespacesMonobjc.AppKitNSPrintOperationRunOperationModalForWindowDelegateDidRunSelectorContextInfo(NSWindow, Id, IntPtr, IntPtr)

Runs the print operation, calling your custom delegate method upon completion.

Original signature is '- (void)runOperationModalForWindow:(NSWindow *)docWindow delegate:(id)delegate didRunSelector:(SEL)didRunSelector contextInfo:(void *)contextInfo'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void RunOperationModalForWindowDelegateDidRunSelectorContextInfo(
	NSWindow docWindow,
	Id delegate,
	IntPtr didRunSelector,
	IntPtr contextInfo
)
Public Overridable Sub RunOperationModalForWindowDelegateDidRunSelectorContextInfo ( _
	docWindow As NSWindow, _
	delegate As Id, _
	didRunSelector As IntPtr, _
	contextInfo As IntPtr _
)
public:
virtual void RunOperationModalForWindowDelegateDidRunSelectorContextInfo(
	NSWindow^ docWindow, 
	Id^ delegate, 
	IntPtr didRunSelector, 
	IntPtr contextInfo
)
Parameters
docWindow (NSWindow)
The document window to receive a print progress sheet.
delegate (Id)
The printing delegate object. Messages are sent to this object.
didRunSelector (IntPtr)
The delegate method called after the completion of the print operation.
contextInfo (IntPtr)
A pointer to any data you want passed to the method in the didRunSelector parameter.
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)