NSWindowDelegate class interface
NSWindowDelegate
Constructors
- NSWindowDelegate.castFrom(ObjCObjectBase other)
-
Constructs a NSWindowDelegate that points to the same underlying object as
other. -
NSWindowDelegate.castFromPointer(Pointer<
ObjCObject> other, {bool retain = false, bool release = false}) - Constructs a NSWindowDelegate that wraps the given raw object pointer.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- ref → ObjCObjectRef
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- $protocol → Protocol
-
Returns the
objc.Protocolobject for this protocol.no setter -
customWindowsToEnterFullScreenForWindow_
→ ObjCProtocolMethod<
NSArray? Function(NSWindow)> -
customWindowsToEnterFullScreenForWindow:
final
-
customWindowsToEnterFullScreenForWindow_onScreen_
→ ObjCProtocolMethod<
NSArray? Function(NSWindow, NSScreen)> -
customWindowsToEnterFullScreenForWindow:onScreen:
final
-
customWindowsToExitFullScreenForWindow_
→ ObjCProtocolMethod<
NSArray? Function(NSWindow)> -
customWindowsToExitFullScreenForWindow:
final
-
previewRepresentableActivityItemsForWindow_
→ ObjCProtocolMethod<
NSArray? Function(NSWindow)> -
previewRepresentableActivityItemsForWindow:
final
-
window_didDecodeRestorableState_
→ ObjCProtocolListenableMethod<
void Function(NSWindow, NSCoder)> -
window:didDecodeRestorableState:
final
-
window_shouldDragDocumentWithEvent_from_withPasteboard_
→ ObjCProtocolMethod<
bool Function(NSWindow, NSEvent, NSPoint, NSPasteboard)> -
window:shouldDragDocumentWithEvent:from:withPasteboard:
final
-
window_shouldPopUpDocumentPathMenu_
→ ObjCProtocolMethod<
bool Function(NSWindow, NSMenu)> -
window:shouldPopUpDocumentPathMenu:
final
-
window_startCustomAnimationToEnterFullScreenOnScreen_withDuration_
→ ObjCProtocolListenableMethod<
void Function(NSWindow, NSScreen, DartNSTimeInterval)> -
window:startCustomAnimationToEnterFullScreenOnScreen:withDuration:
final
-
window_startCustomAnimationToEnterFullScreenWithDuration_
→ ObjCProtocolListenableMethod<
void Function(NSWindow, DartNSTimeInterval)> -
window:startCustomAnimationToEnterFullScreenWithDuration:
final
-
window_startCustomAnimationToExitFullScreenWithDuration_
→ ObjCProtocolListenableMethod<
void Function(NSWindow, DartNSTimeInterval)> -
window:startCustomAnimationToExitFullScreenWithDuration:
final
-
window_willEncodeRestorableState_
→ ObjCProtocolListenableMethod<
void Function(NSWindow, NSCoder)> -
window:willEncodeRestorableState:
final
-
window_willPositionSheet_usingRect_
→ ObjCProtocolMethod<
NSRect Function(NSWindow, NSWindow, NSRect)> -
window:willPositionSheet:usingRect:
final
-
window_willResizeForVersionBrowserWithMaxPreferredSize_maxAllowedSize_
→ ObjCProtocolMethod<
NSSize Function(NSWindow, NSSize, NSSize)> -
window:willResizeForVersionBrowserWithMaxPreferredSize:maxAllowedSize:
final
-
window_willUseFullScreenContentSize_
→ ObjCProtocolMethod<
NSSize Function(NSWindow, NSSize)> -
window:willUseFullScreenContentSize:
final
-
window_willUseFullScreenPresentationOptions_
→ ObjCProtocolMethod<
NSApplicationPresentationOptions Function(NSWindow, NSApplicationPresentationOptions)> -
window:willUseFullScreenPresentationOptions:
final
-
windowDidBecomeKey_
→ ObjCProtocolListenableMethod<
void Function(NSNotification obj)> -
windowDidBecomeKey:
final
-
windowDidBecomeMain_
→ ObjCProtocolListenableMethod<
void Function(NSNotification obj)> -
windowDidBecomeMain:
final
-
windowDidChangeBackingProperties_
→ ObjCProtocolListenableMethod<
void Function(NSNotification obj)> -
windowDidChangeBackingProperties:
final
-
windowDidChangeOcclusionState_
→ ObjCProtocolListenableMethod<
void Function(NSNotification obj)> -
windowDidChangeOcclusionState:
final
-
windowDidChangeScreen_
→ ObjCProtocolListenableMethod<
void Function(NSNotification obj)> -
windowDidChangeScreen:
final
-
windowDidChangeScreenProfile_
→ ObjCProtocolListenableMethod<
void Function(NSNotification obj)> -
windowDidChangeScreenProfile:
final
-
windowDidDeminiaturize_
→ ObjCProtocolListenableMethod<
void Function(NSNotification obj)> -
windowDidDeminiaturize:
final
-
windowDidEndLiveResize_
→ ObjCProtocolListenableMethod<
void Function(NSNotification obj)> -
windowDidEndLiveResize:
final
-
windowDidEndSheet_
→ ObjCProtocolListenableMethod<
void Function(NSNotification obj)> -
windowDidEndSheet:
final
-
windowDidEnterFullScreen_
→ ObjCProtocolListenableMethod<
void Function(NSNotification obj)> -
windowDidEnterFullScreen:
final
-
windowDidEnterVersionBrowser_
→ ObjCProtocolListenableMethod<
void Function(NSNotification obj)> -
windowDidEnterVersionBrowser:
final
-
windowDidExitFullScreen_
→ ObjCProtocolListenableMethod<
void Function(NSNotification obj)> -
windowDidExitFullScreen:
final
-
windowDidExitVersionBrowser_
→ ObjCProtocolListenableMethod<
void Function(NSNotification obj)> -
windowDidExitVersionBrowser:
final
-
windowDidExpose_
→ ObjCProtocolListenableMethod<
void Function(NSNotification obj)> -
windowDidExpose:
final
-
windowDidFailToEnterFullScreen_
→ ObjCProtocolListenableMethod<
void Function(NSWindow)> -
windowDidFailToEnterFullScreen:
final
-
windowDidFailToExitFullScreen_
→ ObjCProtocolListenableMethod<
void Function(NSWindow)> -
windowDidFailToExitFullScreen:
final
-
windowDidMiniaturize_
→ ObjCProtocolListenableMethod<
void Function(NSNotification obj)> -
windowDidMiniaturize:
final
-
windowDidMove_
→ ObjCProtocolListenableMethod<
void Function(NSNotification obj)> -
windowDidMove:
final
-
windowDidResignKey_
→ ObjCProtocolListenableMethod<
void Function(NSNotification obj)> -
windowDidResignKey:
final
-
windowDidResignMain_
→ ObjCProtocolListenableMethod<
void Function(NSNotification obj)> -
windowDidResignMain:
final
-
windowDidResize_
→ ObjCProtocolListenableMethod<
void Function(NSNotification obj)> -
windowDidResize:
final
-
windowDidUpdate_
→ ObjCProtocolListenableMethod<
void Function(NSNotification obj)> -
windowDidUpdate:
final
-
windowForSharingRequestFromWindow_
→ ObjCProtocolMethod<
NSWindow? Function(NSWindow)> -
windowForSharingRequestFromWindow:
final
-
windowShouldClose_
→ ObjCProtocolMethod<
bool Function(NSWindow)> -
windowShouldClose:
final
-
windowShouldZoom_toFrame_
→ ObjCProtocolMethod<
bool Function(NSWindow, NSRect)> -
windowShouldZoom:toFrame:
final
-
windowWillBeginSheet_
→ ObjCProtocolListenableMethod<
void Function(NSNotification obj)> -
windowWillBeginSheet:
final
-
windowWillClose_
→ ObjCProtocolListenableMethod<
void Function(NSNotification obj)> -
windowWillClose:
final
-
windowWillEnterFullScreen_
→ ObjCProtocolListenableMethod<
void Function(NSNotification obj)> -
windowWillEnterFullScreen:
final
-
windowWillEnterVersionBrowser_
→ ObjCProtocolListenableMethod<
void Function(NSNotification obj)> -
windowWillEnterVersionBrowser:
final
-
windowWillExitFullScreen_
→ ObjCProtocolListenableMethod<
void Function(NSNotification obj)> -
windowWillExitFullScreen:
final
-
windowWillExitVersionBrowser_
→ ObjCProtocolListenableMethod<
void Function(NSNotification obj)> -
windowWillExitVersionBrowser:
final
-
windowWillMiniaturize_
→ ObjCProtocolListenableMethod<
void Function(NSNotification obj)> -
windowWillMiniaturize:
final
-
windowWillMove_
→ ObjCProtocolListenableMethod<
void Function(NSNotification obj)> -
windowWillMove:
final
-
windowWillResize_toSize_
→ ObjCProtocolMethod<
NSSize Function(NSWindow, NSSize)> -
windowWillResize:toSize:
final
-
windowWillReturnFieldEditor_toObject_
→ ObjCProtocolMethod<
ObjCObjectBase? Function(NSWindow, ObjCObjectBase?)> -
windowWillReturnFieldEditor:toObject:
final
-
windowWillReturnUndoManager_
→ ObjCProtocolMethod<
NSUndoManager? Function(NSWindow)> -
windowWillReturnUndoManager:
final
-
windowWillStartLiveResize_
→ ObjCProtocolListenableMethod<
void Function(NSNotification obj)> -
windowWillStartLiveResize:
final
-
windowWillUseStandardFrame_defaultFrame_
→ ObjCProtocolMethod<
NSRect Function(NSWindow, NSRect)> -
windowWillUseStandardFrame:defaultFrame:
final
Static Methods
-
addToBuilder(
ObjCProtocolBuilder builder, {bool windowShouldClose_(NSWindow)?, ObjCObjectBase? windowWillReturnFieldEditor_toObject_(NSWindow, ObjCObjectBase?)?, NSSize windowWillResize_toSize_(NSWindow, NSSize)?, NSRect windowWillUseStandardFrame_defaultFrame_(NSWindow, NSRect)?, bool windowShouldZoom_toFrame_(NSWindow, NSRect)?, NSUndoManager? windowWillReturnUndoManager_(NSWindow)?, NSRect window_willPositionSheet_usingRect_(NSWindow, NSWindow, NSRect)?, bool window_shouldPopUpDocumentPathMenu_(NSWindow, NSMenu)?, bool window_shouldDragDocumentWithEvent_from_withPasteboard_(NSWindow, NSEvent, NSPoint, NSPasteboard)?, NSSize window_willUseFullScreenContentSize_(NSWindow, NSSize)?, NSApplicationPresentationOptions window_willUseFullScreenPresentationOptions_(NSWindow, NSApplicationPresentationOptions)?, NSArray? customWindowsToEnterFullScreenForWindow_(NSWindow)?, void window_startCustomAnimationToEnterFullScreenWithDuration_(NSWindow, DartNSTimeInterval)?, void windowDidFailToEnterFullScreen_(NSWindow)?, NSArray? customWindowsToExitFullScreenForWindow_(NSWindow)?, void window_startCustomAnimationToExitFullScreenWithDuration_(NSWindow, DartNSTimeInterval)?, NSArray? customWindowsToEnterFullScreenForWindow_onScreen_(NSWindow, NSScreen)?, void window_startCustomAnimationToEnterFullScreenOnScreen_withDuration_(NSWindow, NSScreen, DartNSTimeInterval)?, void windowDidFailToExitFullScreen_(NSWindow)?, NSSize window_willResizeForVersionBrowserWithMaxPreferredSize_maxAllowedSize_(NSWindow, NSSize, NSSize)?, void window_willEncodeRestorableState_(NSWindow, NSCoder)?, void window_didDecodeRestorableState_(NSWindow, NSCoder)?, NSArray? previewRepresentableActivityItemsForWindow_(NSWindow)?, NSWindow? windowForSharingRequestFromWindow_(NSWindow)?, void windowDidResize_(NSNotification)?, void windowDidExpose_(NSNotification)?, void windowWillMove_(NSNotification)?, void windowDidMove_(NSNotification)?, void windowDidBecomeKey_(NSNotification)?, void windowDidResignKey_(NSNotification)?, void windowDidBecomeMain_(NSNotification)?, void windowDidResignMain_(NSNotification)?, void windowWillClose_(NSNotification)?, void windowWillMiniaturize_(NSNotification)?, void windowDidMiniaturize_(NSNotification)?, void windowDidDeminiaturize_(NSNotification)?, void windowDidUpdate_(NSNotification)?, void windowDidChangeScreen_(NSNotification)?, void windowDidChangeScreenProfile_(NSNotification)?, void windowDidChangeBackingProperties_(NSNotification)?, void windowWillBeginSheet_(NSNotification)?, void windowDidEndSheet_(NSNotification)?, void windowWillStartLiveResize_(NSNotification)?, void windowDidEndLiveResize_(NSNotification)?, void windowWillEnterFullScreen_(NSNotification)?, void windowDidEnterFullScreen_(NSNotification)?, void windowWillExitFullScreen_(NSNotification)?, void windowDidExitFullScreen_(NSNotification)?, void windowWillEnterVersionBrowser_(NSNotification)?, void windowDidEnterVersionBrowser_(NSNotification)?, void windowWillExitVersionBrowser_(NSNotification)?, void windowDidExitVersionBrowser_(NSNotification)?, void windowDidChangeOcclusionState_(NSNotification)?, bool $keepIsolateAlive = true}) → void -
Adds the implementation of the NSWindowDelegate protocol to an existing
objc.ObjCProtocolBuilder. -
addToBuilderAsBlocking(
ObjCProtocolBuilder builder, {bool windowShouldClose_(NSWindow)?, ObjCObjectBase? windowWillReturnFieldEditor_toObject_(NSWindow, ObjCObjectBase?)?, NSSize windowWillResize_toSize_(NSWindow, NSSize)?, NSRect windowWillUseStandardFrame_defaultFrame_(NSWindow, NSRect)?, bool windowShouldZoom_toFrame_(NSWindow, NSRect)?, NSUndoManager? windowWillReturnUndoManager_(NSWindow)?, NSRect window_willPositionSheet_usingRect_(NSWindow, NSWindow, NSRect)?, bool window_shouldPopUpDocumentPathMenu_(NSWindow, NSMenu)?, bool window_shouldDragDocumentWithEvent_from_withPasteboard_(NSWindow, NSEvent, NSPoint, NSPasteboard)?, NSSize window_willUseFullScreenContentSize_(NSWindow, NSSize)?, NSApplicationPresentationOptions window_willUseFullScreenPresentationOptions_(NSWindow, NSApplicationPresentationOptions)?, NSArray? customWindowsToEnterFullScreenForWindow_(NSWindow)?, void window_startCustomAnimationToEnterFullScreenWithDuration_(NSWindow, DartNSTimeInterval)?, void windowDidFailToEnterFullScreen_(NSWindow)?, NSArray? customWindowsToExitFullScreenForWindow_(NSWindow)?, void window_startCustomAnimationToExitFullScreenWithDuration_(NSWindow, DartNSTimeInterval)?, NSArray? customWindowsToEnterFullScreenForWindow_onScreen_(NSWindow, NSScreen)?, void window_startCustomAnimationToEnterFullScreenOnScreen_withDuration_(NSWindow, NSScreen, DartNSTimeInterval)?, void windowDidFailToExitFullScreen_(NSWindow)?, NSSize window_willResizeForVersionBrowserWithMaxPreferredSize_maxAllowedSize_(NSWindow, NSSize, NSSize)?, void window_willEncodeRestorableState_(NSWindow, NSCoder)?, void window_didDecodeRestorableState_(NSWindow, NSCoder)?, NSArray? previewRepresentableActivityItemsForWindow_(NSWindow)?, NSWindow? windowForSharingRequestFromWindow_(NSWindow)?, void windowDidResize_(NSNotification)?, void windowDidExpose_(NSNotification)?, void windowWillMove_(NSNotification)?, void windowDidMove_(NSNotification)?, void windowDidBecomeKey_(NSNotification)?, void windowDidResignKey_(NSNotification)?, void windowDidBecomeMain_(NSNotification)?, void windowDidResignMain_(NSNotification)?, void windowWillClose_(NSNotification)?, void windowWillMiniaturize_(NSNotification)?, void windowDidMiniaturize_(NSNotification)?, void windowDidDeminiaturize_(NSNotification)?, void windowDidUpdate_(NSNotification)?, void windowDidChangeScreen_(NSNotification)?, void windowDidChangeScreenProfile_(NSNotification)?, void windowDidChangeBackingProperties_(NSNotification)?, void windowWillBeginSheet_(NSNotification)?, void windowDidEndSheet_(NSNotification)?, void windowWillStartLiveResize_(NSNotification)?, void windowDidEndLiveResize_(NSNotification)?, void windowWillEnterFullScreen_(NSNotification)?, void windowDidEnterFullScreen_(NSNotification)?, void windowWillExitFullScreen_(NSNotification)?, void windowDidExitFullScreen_(NSNotification)?, void windowWillEnterVersionBrowser_(NSNotification)?, void windowDidEnterVersionBrowser_(NSNotification)?, void windowWillExitVersionBrowser_(NSNotification)?, void windowDidExitVersionBrowser_(NSNotification)?, void windowDidChangeOcclusionState_(NSNotification)?, bool $keepIsolateAlive = true}) → void -
Adds the implementation of the NSWindowDelegate protocol to an existing
objc.ObjCProtocolBuilder. All methods that can be implemented as blocking listeners will be. -
addToBuilderAsListener(
ObjCProtocolBuilder builder, {bool windowShouldClose_(NSWindow)?, ObjCObjectBase? windowWillReturnFieldEditor_toObject_(NSWindow, ObjCObjectBase?)?, NSSize windowWillResize_toSize_(NSWindow, NSSize)?, NSRect windowWillUseStandardFrame_defaultFrame_(NSWindow, NSRect)?, bool windowShouldZoom_toFrame_(NSWindow, NSRect)?, NSUndoManager? windowWillReturnUndoManager_(NSWindow)?, NSRect window_willPositionSheet_usingRect_(NSWindow, NSWindow, NSRect)?, bool window_shouldPopUpDocumentPathMenu_(NSWindow, NSMenu)?, bool window_shouldDragDocumentWithEvent_from_withPasteboard_(NSWindow, NSEvent, NSPoint, NSPasteboard)?, NSSize window_willUseFullScreenContentSize_(NSWindow, NSSize)?, NSApplicationPresentationOptions window_willUseFullScreenPresentationOptions_(NSWindow, NSApplicationPresentationOptions)?, NSArray? customWindowsToEnterFullScreenForWindow_(NSWindow)?, void window_startCustomAnimationToEnterFullScreenWithDuration_(NSWindow, DartNSTimeInterval)?, void windowDidFailToEnterFullScreen_(NSWindow)?, NSArray? customWindowsToExitFullScreenForWindow_(NSWindow)?, void window_startCustomAnimationToExitFullScreenWithDuration_(NSWindow, DartNSTimeInterval)?, NSArray? customWindowsToEnterFullScreenForWindow_onScreen_(NSWindow, NSScreen)?, void window_startCustomAnimationToEnterFullScreenOnScreen_withDuration_(NSWindow, NSScreen, DartNSTimeInterval)?, void windowDidFailToExitFullScreen_(NSWindow)?, NSSize window_willResizeForVersionBrowserWithMaxPreferredSize_maxAllowedSize_(NSWindow, NSSize, NSSize)?, void window_willEncodeRestorableState_(NSWindow, NSCoder)?, void window_didDecodeRestorableState_(NSWindow, NSCoder)?, NSArray? previewRepresentableActivityItemsForWindow_(NSWindow)?, NSWindow? windowForSharingRequestFromWindow_(NSWindow)?, void windowDidResize_(NSNotification)?, void windowDidExpose_(NSNotification)?, void windowWillMove_(NSNotification)?, void windowDidMove_(NSNotification)?, void windowDidBecomeKey_(NSNotification)?, void windowDidResignKey_(NSNotification)?, void windowDidBecomeMain_(NSNotification)?, void windowDidResignMain_(NSNotification)?, void windowWillClose_(NSNotification)?, void windowWillMiniaturize_(NSNotification)?, void windowDidMiniaturize_(NSNotification)?, void windowDidDeminiaturize_(NSNotification)?, void windowDidUpdate_(NSNotification)?, void windowDidChangeScreen_(NSNotification)?, void windowDidChangeScreenProfile_(NSNotification)?, void windowDidChangeBackingProperties_(NSNotification)?, void windowWillBeginSheet_(NSNotification)?, void windowDidEndSheet_(NSNotification)?, void windowWillStartLiveResize_(NSNotification)?, void windowDidEndLiveResize_(NSNotification)?, void windowWillEnterFullScreen_(NSNotification)?, void windowDidEnterFullScreen_(NSNotification)?, void windowWillExitFullScreen_(NSNotification)?, void windowDidExitFullScreen_(NSNotification)?, void windowWillEnterVersionBrowser_(NSNotification)?, void windowDidEnterVersionBrowser_(NSNotification)?, void windowWillExitVersionBrowser_(NSNotification)?, void windowDidExitVersionBrowser_(NSNotification)?, void windowDidChangeOcclusionState_(NSNotification)?, bool $keepIsolateAlive = true}) → void -
Adds the implementation of the NSWindowDelegate protocol to an existing
objc.ObjCProtocolBuilder. All methods that can be implemented as listeners will be. -
conformsTo(
ObjCObjectBase obj) → bool -
Returns whether
objis an instance of NSWindowDelegate. -
implement(
{bool windowShouldClose_(NSWindow)?, ObjCObjectBase? windowWillReturnFieldEditor_toObject_(NSWindow, ObjCObjectBase?)?, NSSize windowWillResize_toSize_(NSWindow, NSSize)?, NSRect windowWillUseStandardFrame_defaultFrame_(NSWindow, NSRect)?, bool windowShouldZoom_toFrame_(NSWindow, NSRect)?, NSUndoManager? windowWillReturnUndoManager_(NSWindow)?, NSRect window_willPositionSheet_usingRect_(NSWindow, NSWindow, NSRect)?, bool window_shouldPopUpDocumentPathMenu_(NSWindow, NSMenu)?, bool window_shouldDragDocumentWithEvent_from_withPasteboard_(NSWindow, NSEvent, NSPoint, NSPasteboard)?, NSSize window_willUseFullScreenContentSize_(NSWindow, NSSize)?, NSApplicationPresentationOptions window_willUseFullScreenPresentationOptions_(NSWindow, NSApplicationPresentationOptions)?, NSArray? customWindowsToEnterFullScreenForWindow_(NSWindow)?, void window_startCustomAnimationToEnterFullScreenWithDuration_(NSWindow, DartNSTimeInterval)?, void windowDidFailToEnterFullScreen_(NSWindow)?, NSArray? customWindowsToExitFullScreenForWindow_(NSWindow)?, void window_startCustomAnimationToExitFullScreenWithDuration_(NSWindow, DartNSTimeInterval)?, NSArray? customWindowsToEnterFullScreenForWindow_onScreen_(NSWindow, NSScreen)?, void window_startCustomAnimationToEnterFullScreenOnScreen_withDuration_(NSWindow, NSScreen, DartNSTimeInterval)?, void windowDidFailToExitFullScreen_(NSWindow)?, NSSize window_willResizeForVersionBrowserWithMaxPreferredSize_maxAllowedSize_(NSWindow, NSSize, NSSize)?, void window_willEncodeRestorableState_(NSWindow, NSCoder)?, void window_didDecodeRestorableState_(NSWindow, NSCoder)?, NSArray? previewRepresentableActivityItemsForWindow_(NSWindow)?, NSWindow? windowForSharingRequestFromWindow_(NSWindow)?, void windowDidResize_(NSNotification)?, void windowDidExpose_(NSNotification)?, void windowWillMove_(NSNotification)?, void windowDidMove_(NSNotification)?, void windowDidBecomeKey_(NSNotification)?, void windowDidResignKey_(NSNotification)?, void windowDidBecomeMain_(NSNotification)?, void windowDidResignMain_(NSNotification)?, void windowWillClose_(NSNotification)?, void windowWillMiniaturize_(NSNotification)?, void windowDidMiniaturize_(NSNotification)?, void windowDidDeminiaturize_(NSNotification)?, void windowDidUpdate_(NSNotification)?, void windowDidChangeScreen_(NSNotification)?, void windowDidChangeScreenProfile_(NSNotification)?, void windowDidChangeBackingProperties_(NSNotification)?, void windowWillBeginSheet_(NSNotification)?, void windowDidEndSheet_(NSNotification)?, void windowWillStartLiveResize_(NSNotification)?, void windowDidEndLiveResize_(NSNotification)?, void windowWillEnterFullScreen_(NSNotification)?, void windowDidEnterFullScreen_(NSNotification)?, void windowWillExitFullScreen_(NSNotification)?, void windowDidExitFullScreen_(NSNotification)?, void windowWillEnterVersionBrowser_(NSNotification)?, void windowDidEnterVersionBrowser_(NSNotification)?, void windowWillExitVersionBrowser_(NSNotification)?, void windowDidExitVersionBrowser_(NSNotification)?, void windowDidChangeOcclusionState_(NSNotification)?, bool $keepIsolateAlive = true}) → NSWindowDelegate -
Builds an object that implements the NSWindowDelegate protocol. To implement
multiple protocols, use addToBuilder or
objc.ObjCProtocolBuilderdirectly. -
implementAsBlocking(
{bool windowShouldClose_(NSWindow)?, ObjCObjectBase? windowWillReturnFieldEditor_toObject_(NSWindow, ObjCObjectBase?)?, NSSize windowWillResize_toSize_(NSWindow, NSSize)?, NSRect windowWillUseStandardFrame_defaultFrame_(NSWindow, NSRect)?, bool windowShouldZoom_toFrame_(NSWindow, NSRect)?, NSUndoManager? windowWillReturnUndoManager_(NSWindow)?, NSRect window_willPositionSheet_usingRect_(NSWindow, NSWindow, NSRect)?, bool window_shouldPopUpDocumentPathMenu_(NSWindow, NSMenu)?, bool window_shouldDragDocumentWithEvent_from_withPasteboard_(NSWindow, NSEvent, NSPoint, NSPasteboard)?, NSSize window_willUseFullScreenContentSize_(NSWindow, NSSize)?, NSApplicationPresentationOptions window_willUseFullScreenPresentationOptions_(NSWindow, NSApplicationPresentationOptions)?, NSArray? customWindowsToEnterFullScreenForWindow_(NSWindow)?, void window_startCustomAnimationToEnterFullScreenWithDuration_(NSWindow, DartNSTimeInterval)?, void windowDidFailToEnterFullScreen_(NSWindow)?, NSArray? customWindowsToExitFullScreenForWindow_(NSWindow)?, void window_startCustomAnimationToExitFullScreenWithDuration_(NSWindow, DartNSTimeInterval)?, NSArray? customWindowsToEnterFullScreenForWindow_onScreen_(NSWindow, NSScreen)?, void window_startCustomAnimationToEnterFullScreenOnScreen_withDuration_(NSWindow, NSScreen, DartNSTimeInterval)?, void windowDidFailToExitFullScreen_(NSWindow)?, NSSize window_willResizeForVersionBrowserWithMaxPreferredSize_maxAllowedSize_(NSWindow, NSSize, NSSize)?, void window_willEncodeRestorableState_(NSWindow, NSCoder)?, void window_didDecodeRestorableState_(NSWindow, NSCoder)?, NSArray? previewRepresentableActivityItemsForWindow_(NSWindow)?, NSWindow? windowForSharingRequestFromWindow_(NSWindow)?, void windowDidResize_(NSNotification)?, void windowDidExpose_(NSNotification)?, void windowWillMove_(NSNotification)?, void windowDidMove_(NSNotification)?, void windowDidBecomeKey_(NSNotification)?, void windowDidResignKey_(NSNotification)?, void windowDidBecomeMain_(NSNotification)?, void windowDidResignMain_(NSNotification)?, void windowWillClose_(NSNotification)?, void windowWillMiniaturize_(NSNotification)?, void windowDidMiniaturize_(NSNotification)?, void windowDidDeminiaturize_(NSNotification)?, void windowDidUpdate_(NSNotification)?, void windowDidChangeScreen_(NSNotification)?, void windowDidChangeScreenProfile_(NSNotification)?, void windowDidChangeBackingProperties_(NSNotification)?, void windowWillBeginSheet_(NSNotification)?, void windowDidEndSheet_(NSNotification)?, void windowWillStartLiveResize_(NSNotification)?, void windowDidEndLiveResize_(NSNotification)?, void windowWillEnterFullScreen_(NSNotification)?, void windowDidEnterFullScreen_(NSNotification)?, void windowWillExitFullScreen_(NSNotification)?, void windowDidExitFullScreen_(NSNotification)?, void windowWillEnterVersionBrowser_(NSNotification)?, void windowDidEnterVersionBrowser_(NSNotification)?, void windowWillExitVersionBrowser_(NSNotification)?, void windowDidExitVersionBrowser_(NSNotification)?, void windowDidChangeOcclusionState_(NSNotification)?, bool $keepIsolateAlive = true}) → NSWindowDelegate -
Builds an object that implements the NSWindowDelegate protocol. To implement
multiple protocols, use addToBuilder or
objc.ObjCProtocolBuilderdirectly. All methods that can be implemented as blocking listeners will be. -
implementAsListener(
{bool windowShouldClose_(NSWindow)?, ObjCObjectBase? windowWillReturnFieldEditor_toObject_(NSWindow, ObjCObjectBase?)?, NSSize windowWillResize_toSize_(NSWindow, NSSize)?, NSRect windowWillUseStandardFrame_defaultFrame_(NSWindow, NSRect)?, bool windowShouldZoom_toFrame_(NSWindow, NSRect)?, NSUndoManager? windowWillReturnUndoManager_(NSWindow)?, NSRect window_willPositionSheet_usingRect_(NSWindow, NSWindow, NSRect)?, bool window_shouldPopUpDocumentPathMenu_(NSWindow, NSMenu)?, bool window_shouldDragDocumentWithEvent_from_withPasteboard_(NSWindow, NSEvent, NSPoint, NSPasteboard)?, NSSize window_willUseFullScreenContentSize_(NSWindow, NSSize)?, NSApplicationPresentationOptions window_willUseFullScreenPresentationOptions_(NSWindow, NSApplicationPresentationOptions)?, NSArray? customWindowsToEnterFullScreenForWindow_(NSWindow)?, void window_startCustomAnimationToEnterFullScreenWithDuration_(NSWindow, DartNSTimeInterval)?, void windowDidFailToEnterFullScreen_(NSWindow)?, NSArray? customWindowsToExitFullScreenForWindow_(NSWindow)?, void window_startCustomAnimationToExitFullScreenWithDuration_(NSWindow, DartNSTimeInterval)?, NSArray? customWindowsToEnterFullScreenForWindow_onScreen_(NSWindow, NSScreen)?, void window_startCustomAnimationToEnterFullScreenOnScreen_withDuration_(NSWindow, NSScreen, DartNSTimeInterval)?, void windowDidFailToExitFullScreen_(NSWindow)?, NSSize window_willResizeForVersionBrowserWithMaxPreferredSize_maxAllowedSize_(NSWindow, NSSize, NSSize)?, void window_willEncodeRestorableState_(NSWindow, NSCoder)?, void window_didDecodeRestorableState_(NSWindow, NSCoder)?, NSArray? previewRepresentableActivityItemsForWindow_(NSWindow)?, NSWindow? windowForSharingRequestFromWindow_(NSWindow)?, void windowDidResize_(NSNotification)?, void windowDidExpose_(NSNotification)?, void windowWillMove_(NSNotification)?, void windowDidMove_(NSNotification)?, void windowDidBecomeKey_(NSNotification)?, void windowDidResignKey_(NSNotification)?, void windowDidBecomeMain_(NSNotification)?, void windowDidResignMain_(NSNotification)?, void windowWillClose_(NSNotification)?, void windowWillMiniaturize_(NSNotification)?, void windowDidMiniaturize_(NSNotification)?, void windowDidDeminiaturize_(NSNotification)?, void windowDidUpdate_(NSNotification)?, void windowDidChangeScreen_(NSNotification)?, void windowDidChangeScreenProfile_(NSNotification)?, void windowDidChangeBackingProperties_(NSNotification)?, void windowWillBeginSheet_(NSNotification)?, void windowDidEndSheet_(NSNotification)?, void windowWillStartLiveResize_(NSNotification)?, void windowDidEndLiveResize_(NSNotification)?, void windowWillEnterFullScreen_(NSNotification)?, void windowDidEnterFullScreen_(NSNotification)?, void windowWillExitFullScreen_(NSNotification)?, void windowDidExitFullScreen_(NSNotification)?, void windowWillEnterVersionBrowser_(NSNotification)?, void windowDidEnterVersionBrowser_(NSNotification)?, void windowWillExitVersionBrowser_(NSNotification)?, void windowDidExitVersionBrowser_(NSNotification)?, void windowDidChangeOcclusionState_(NSNotification)?, bool $keepIsolateAlive = true}) → NSWindowDelegate -
Builds an object that implements the NSWindowDelegate protocol. To implement
multiple protocols, use addToBuilder or
objc.ObjCProtocolBuilderdirectly. All methods that can be implemented as listeners will be.