pub unsafe trait NSSharingServicePickerToolbarItemDelegate: NSSharingServicePickerDelegate + MainThreadOnly {
// Provided method
fn itemsForSharingServicePickerToolbarItem(
&self,
picker_toolbar_item: &NSSharingServicePickerToolbarItem,
) -> Retained<NSArray>
where Self: Sized + Message { ... }
}
Available on crate features
NSSharingService
and NSSharingServicePickerToolbarItem
only.Expand description
Provided Methods§
Sourcefn itemsForSharingServicePickerToolbarItem(
&self,
picker_toolbar_item: &NSSharingServicePickerToolbarItem,
) -> Retained<NSArray>
Available on crate feature NSToolbarItem
only.
fn itemsForSharingServicePickerToolbarItem( &self, picker_toolbar_item: &NSSharingServicePickerToolbarItem, ) -> Retained<NSArray>
NSToolbarItem
only.Return the items that represent the objects to be shared. They must conform to the <NSPasteboardWriting
protocol or be an NSItemProvider. (e.g. NSString, NSImage, NSURL, etc.).