Platforms to show: All Mac Windows Linux Cross-Platform
NSWindowDelegateMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | Cocoa | MBS MacCocoa Plugin | 11.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
The NSWindowDelegate protocol defines the methods that a delegate of NSWindow should implement. All methods in this protocol are optional.
By implementing these methods, the delegate may respond to window resizing, moving, exposing, minimizing, and a number of other window events.
- 57 events
- event concludeDragOperation(sender as NSDraggingInfoMBS)
- event customWindowsToEnterFullScreenForWindow(win as NSWindowMBS) as NSWindowMBS()
- event customWindowsToExitFullScreenForWindow(win as NSWindowMBS) as NSWindowMBS()
- event didDecodeRestorableState(win as NSWindowMBS, state as NSCoderMBS)
- event draggingEnded(sender as NSDraggingInfoMBS)
- event draggingEntered(sender as NSDraggingInfoMBS) as Integer
- event draggingExited(sender as NSDraggingInfoMBS)
- event draggingUpdated(sender as NSDraggingInfoMBS) as Integer
- event encodeRestorableStateWithCoder(win as NSWindowMBS, coder as NSCoderMBS)
- event performDragOperation(sender as NSDraggingInfoMBS) as boolean
- event prepareForDragOperation(sender as NSDraggingInfoMBS) as boolean
- event restoreStateWithCoder(win as NSWindowMBS, coder as NSCoderMBS)
- event shouldDragDocumentWithEvent(win as NSWindowMBS, evnt as NSEventMBS, dragImageLocation as NSPointMBS, pasteboard as Variant) as boolean
- event shouldPopUpDocumentPathMenu(win as NSWindowMBS, menu as NSMenuMBS) as boolean
- event startCustomAnimationToEnterFullScreenWithDuration(win as NSWindowMBS, duration as Double)
- event startCustomAnimationToExitFullScreenWithDuration(win as NSWindowMBS, duration as Double)
- event updateDraggingItemsForDrag(sender as NSDraggingInfoMBS)
- event wantsPeriodicDraggingUpdates as boolean
- event willEncodeRestorableState(win as NSWindowMBS, state as NSCoderMBS)
- event willPositionSheet(win as NSWindowMBS, sheet as NSWindowMBS, rect as NSRectMBS) as NSRectMBS
- event willResizeForVersionBrowser(win as NSWindowMBS, maxPreferredFrameSize as NSSizeMBS, maxAllowedFrameSize as NSSizeMBS) as NSSizeMBS
- event willUseFullScreenContentSize(win as NSWindowMBS, proposedSize as NSSizeMBS) as NSSizeMBS
- event willUseFullScreenPresentationOptions(win as NSWindowMBS, proposedOptions as Integer) as Integer
- event windowDidBecomeKey(notification as NSNotificationMBS)
- event windowDidBecomeMain(notification as NSNotificationMBS)
- event windowDidChangeScreen(notification as NSNotificationMBS)
- event windowDidChangeScreenProfile(notification as NSNotificationMBS)
- event windowDidDeminiaturize(notification as NSNotificationMBS)
- event windowDidEndLiveResize(notification as NSNotificationMBS)
- event windowDidEndSheet(notification as NSNotificationMBS)
- event windowDidEnterFullScreen(notification as NSNotificationMBS)
- event windowDidEnterVersionBrowser(notification as NSNotificationMBS)
- event windowDidExitFullScreen(notification as NSNotificationMBS)
- event windowDidExitVersionBrowser(notification as NSNotificationMBS)
- event windowDidExpose(notification as NSNotificationMBS)
- event windowDidFailToEnterFullScreen(win as NSWindowMBS)
- event windowDidFailToExitFullScreen(win as NSWindowMBS)
- event windowDidMiniaturize(notification as NSNotificationMBS)
- event windowDidMove(notification as NSNotificationMBS)
- event windowDidResignKey(notification as NSNotificationMBS)
- event windowDidResignMain(notification as NSNotificationMBS)
- event windowDidResize(notification as NSNotificationMBS)
- event windowDidUpdate(notification as NSNotificationMBS)
- event windowShouldClose as boolean
- event windowShouldZoom(win as NSWindowMBS, newFrame as NSRectMBS) as boolean
- event windowWillBeginSheet(notification as NSNotificationMBS)
- event windowWillClose(notification as NSNotificationMBS)
- event windowWillEnterFullScreen(notification as NSNotificationMBS)
- event windowWillEnterVersionBrowser(notification as NSNotificationMBS)
- event windowWillExitFullScreen(notification as NSNotificationMBS)
- event windowWillExitVersionBrowser(notification as NSNotificationMBS)
- event windowWillMiniaturize(notification as NSNotificationMBS)
- event windowWillMove(notification as NSNotificationMBS)
- event windowWillResize(win as NSWindowMBS, newFrameSize as NSSizeMBS, newSize as NSSizeMBS) as NSSizeMBS
- event windowWillReturnUndoManager(win as NSWindowMBS) as NSUndoManagerMBS
- event windowWillStartLiveResize(notification as NSNotificationMBS)
- event windowWillUseStandardFrame(win as NSWindowMBS, newFrame as NSRectMBS) as NSRectMBS
- 3 methods
- method Constructor(win as DesktopWindow)
- method Constructor(win as NSWindowMBS)
- method Constructor(win as window)
- shared method InstallRestoreEvents
This class has no sub classes.
Some examples using this class:
Blog Entries
- MBS Xojo / Real Studio Plugins, version 16.5pr3
- MBS Xojo / Real Studio Plugins, version 13.2pr1
- MBS Real Studio Plugins, version 12.5pr3
- Lion features for Real Studio
- MBS Real Studio Plugins, version 11.2pr11
The items on this page are in the following plugins: MBS MacCocoa Plugin.
NSWindowControllerMBS - NSWindowMBS