Platforms to show: All Mac Windows Linux Cross-Platform

Back to CustomPDFViewMBS class.

Previous items

CustomPDFViewMBS.updateDraggingItemsForDrag(sender as NSDraggingInfoMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event PDFKit MBS PDFKit Plugin 13.1 ✅ Yes ❌ No ❌ No ❌ No
Invoked when the dragging images should be changed.

sender: The object sending the message; use this object to get details about the dragging operation.

While a destination may change the dragging images at any time, it is recommended to wait until this method is called before updating the dragging images.

This allows the system to delay changing the dragging images until it is likely that the user will drop on this destination. Otherwise, the dragging images will change too often during the drag which would be distracting to the user.

CustomPDFViewMBS.viewDidMoveToWindow

Type Topic Plugin Version macOS Windows Linux iOS Targets
event PDFKit MBS PDFKit Plugin 12.5 ✅ 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.

CustomPDFViewMBS.wantsPeriodicDraggingUpdates as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
event PDFKit MBS PDFKit 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 PDFKit Plugin.


The biggest plugin in space...