pub unsafe trait NSDraggingSource: NSObjectProtocol + MainThreadOnly {
// Provided methods
unsafe fn draggingSession_sourceOperationMaskForDraggingContext(
&self,
session: &NSDraggingSession,
context: NSDraggingContext,
) -> NSDragOperation
where Self: Sized + Message { ... }
unsafe fn draggingSession_willBeginAtPoint(
&self,
session: &NSDraggingSession,
screen_point: NSPoint,
)
where Self: Sized + Message { ... }
unsafe fn draggingSession_movedToPoint(
&self,
session: &NSDraggingSession,
screen_point: NSPoint,
)
where Self: Sized + Message { ... }
unsafe fn draggingSession_endedAtPoint_operation(
&self,
session: &NSDraggingSession,
screen_point: NSPoint,
operation: NSDragOperation,
)
where Self: Sized + Message { ... }
unsafe fn ignoreModifierKeysForDraggingSession(
&self,
session: &NSDraggingSession,
) -> bool
where Self: Sized + Message { ... }
}Available on crate feature
NSDragging only.Expand description
Provided Methods§
unsafe fn draggingSession_sourceOperationMaskForDraggingContext( &self, session: &NSDraggingSession, context: NSDraggingContext, ) -> NSDragOperation
Available on crate feature
NSDraggingSession only.unsafe fn draggingSession_willBeginAtPoint( &self, session: &NSDraggingSession, screen_point: NSPoint, )
Available on crate feature
NSDraggingSession only.unsafe fn draggingSession_movedToPoint( &self, session: &NSDraggingSession, screen_point: NSPoint, )
Available on crate feature
NSDraggingSession only.unsafe fn draggingSession_endedAtPoint_operation( &self, session: &NSDraggingSession, screen_point: NSPoint, operation: NSDragOperation, )
Available on crate feature
NSDraggingSession only.unsafe fn ignoreModifierKeysForDraggingSession( &self, session: &NSDraggingSession, ) -> bool
Available on crate feature
NSDraggingSession only.Trait Implementations§
Source§impl ProtocolType for dyn NSDraggingSource
impl ProtocolType for dyn NSDraggingSource
impl<T> ImplementedBy<T> for dyn NSDraggingSource
Implementations on Foreign Types§
impl<T> NSDraggingSource for ProtocolObject<T>where
T: ?Sized + NSDraggingSource,
Implementors§
impl NSDraggingSource for NSCollectionView
Available on crate features
NSResponder and NSView and NSCollectionView only.impl NSDraggingSource for NSOutlineView
Available on crate features
NSControl and NSResponder and NSTableView and NSView and NSOutlineView only.impl NSDraggingSource for NSTableView
Available on crate features
NSControl and NSResponder and NSView and NSTableView only.impl NSDraggingSource for NSTextView
Available on crate features
NSResponder and NSText and NSView and NSTextView only.