Platforms to show: All Mac Windows Linux Cross-Platform
Back to NSWindowDelegateMBS class.
NSWindowDelegateMBS.Constructor(win as DesktopWindow)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa | MBS MacCocoa Plugin | 22.0 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
This class does not keep a reference to the window, so you can keep this delegate as a property of the window without a memory leak.
The original delegate from Xojo is preserved and all messages are forwarded to it. Also when this object is destroyed, the old delegate is restored.
See also:
NSWindowDelegateMBS.Constructor(win as NSWindowMBS)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa | MBS MacCocoa Plugin | 11.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
The original delegate on the window is preserved and all messages are forwarded to it. Also when this object is destroyed, the old delegate is restored.
See also:
NSWindowDelegateMBS.Constructor(win as window)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa | MBS MacCocoa Plugin | 11.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
This class does not keep a reference to the window, so you can keep this delegate as a property of the window without a memory leak.
The original delegate from Xojo is preserved and all messages are forwarded to it. Also when this object is destroyed, the old delegate is restored.
See also:
The items on this page are in the following plugins: MBS MacCocoa Plugin.