Platforms to show: All Mac Windows Linux Cross-Platform

Back to CustomNSViewMBS class.

Previous items

CustomNSViewMBS.viewDidMoveToWindow

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Cocoa Controls MBS MacControls Plugin 11.2 ✅ Yes ❌ No ❌ No ❌ No
Informs the receiver that it has been added to a new view hierarchy.

The default implementation does nothing; subclasses can implement this event to perform whatever actions are necessary.

window may return nil when this method is invoked, indicating that the receiver does not currently reside in any window. This occurs when the receiver has just been removed from its superview or when the receiver has just been added to a superview that does not itself have a window. Overrides of this method may choose to ignore such cases if they are not of interest.

CustomNSViewMBS.wantsPeriodicDraggingUpdates as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Cocoa Controls MBS MacControls Plugin 13.1 ✅ Yes ❌ No ❌ No ❌ No
Asks the destination object whether it wants to receive periodic draggingUpdated messages.

Return true if the destination wants to receive periodic draggingUpdated messages, false otherwise.

If the destination returns false, these messages are sent only when the mouse moves or a modifier flag changes. Otherwise the destination gets the default behavior, where it receives periodic dragging-updated messages even if nothing changes.

Previous items

The items on this page are in the following plugins: MBS MacControls Plugin.


The biggest plugin in space...