Trait objc2_app_kit::NSPathControlDelegate
source · pub unsafe trait NSPathControlDelegate: NSObjectProtocol + IsMainThreadOnly {
// Provided methods
unsafe fn pathControl_shouldDragItem_withPasteboard(
&self,
path_control: &NSPathControl,
path_item: &NSPathControlItem,
pasteboard: &NSPasteboard
) -> bool
where Self: Sized + Message { ... }
unsafe fn pathControl_shouldDragPathComponentCell_withPasteboard(
&self,
path_control: &NSPathControl,
path_component_cell: &NSPathComponentCell,
pasteboard: &NSPasteboard
) -> bool
where Self: Sized + Message { ... }
unsafe fn pathControl_validateDrop(
&self,
path_control: &NSPathControl,
info: &ProtocolObject<dyn NSDraggingInfo>
) -> NSDragOperation
where Self: Sized + Message { ... }
unsafe fn pathControl_acceptDrop(
&self,
path_control: &NSPathControl,
info: &ProtocolObject<dyn NSDraggingInfo>
) -> bool
where Self: Sized + Message { ... }
unsafe fn pathControl_willDisplayOpenPanel(
&self,
path_control: &NSPathControl,
open_panel: &NSOpenPanel
)
where Self: Sized + Message { ... }
unsafe fn pathControl_willPopUpMenu(
&self,
path_control: &NSPathControl,
menu: &NSMenu
)
where Self: Sized + Message { ... }
}
Available on crate feature
NSPathControl
only.Provided Methods§
unsafe fn pathControl_shouldDragItem_withPasteboard( &self, path_control: &NSPathControl, path_item: &NSPathControlItem, pasteboard: &NSPasteboard ) -> bool
Available on crate features
NSControl
and NSPasteboard
and NSPathControlItem
and NSResponder
and NSView
only.unsafe fn pathControl_shouldDragPathComponentCell_withPasteboard( &self, path_control: &NSPathControl, path_component_cell: &NSPathComponentCell, pasteboard: &NSPasteboard ) -> bool
Available on crate features
NSActionCell
and NSCell
and NSControl
and NSPasteboard
and NSPathComponentCell
and NSResponder
and NSTextFieldCell
and NSView
only.unsafe fn pathControl_validateDrop( &self, path_control: &NSPathControl, info: &ProtocolObject<dyn NSDraggingInfo> ) -> NSDragOperation
Available on crate features
NSControl
and NSDragging
and NSResponder
and NSView
only.unsafe fn pathControl_acceptDrop( &self, path_control: &NSPathControl, info: &ProtocolObject<dyn NSDraggingInfo> ) -> bool
Available on crate features
NSControl
and NSDragging
and NSResponder
and NSView
only.unsafe fn pathControl_willDisplayOpenPanel( &self, path_control: &NSPathControl, open_panel: &NSOpenPanel )
Available on crate features
NSControl
and NSOpenPanel
and NSPanel
and NSResponder
and NSSavePanel
and NSView
and NSWindow
only.unsafe fn pathControl_willPopUpMenu( &self, path_control: &NSPathControl, menu: &NSMenu )
Available on crate features
NSControl
and NSMenu
and NSResponder
and NSView
only.