objc2_quartz/generated/ImageKit/
IKImageBrowserView.rs1use core::ffi::*;
4use core::ptr::NonNull;
5use objc2::__framework_prelude::*;
6use objc2_app_kit::*;
7use objc2_foundation::*;
8#[cfg(feature = "objc2-quartz-core")]
9use objc2_quartz_core::*;
10
11use crate::*;
12
13pub const IKCellsStyleNone: c_uint = 0;
15pub const IKCellsStyleShadowed: c_uint = 1;
17pub const IKCellsStyleOutlined: c_uint = 2;
19pub const IKCellsStyleTitled: c_uint = 4;
21pub const IKCellsStyleSubtitled: c_uint = 8;
23
24pub const IKGroupBezelStyle: c_uint = 0;
26pub const IKGroupDisclosureStyle: c_uint = 1;
28
29#[repr(transparent)]
31#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)]
32pub struct IKImageBrowserDropOperation(pub c_uint);
33impl IKImageBrowserDropOperation {
34 #[doc(alias = "IKImageBrowserDropOn")]
35 pub const On: Self = Self(0);
36 #[doc(alias = "IKImageBrowserDropBefore")]
37 pub const Before: Self = Self(1);
38}
39
40unsafe impl Encode for IKImageBrowserDropOperation {
41 const ENCODING: Encoding = c_uint::ENCODING;
42}
43
44unsafe impl RefEncode for IKImageBrowserDropOperation {
45 const ENCODING_REF: Encoding = Encoding::Pointer(&Self::ENCODING);
46}
47
48mod private_NSObjectIKImageBrowserDataSource {
49 pub trait Sealed {}
50}
51
52#[doc(alias = "IKImageBrowserDataSource")]
56pub unsafe trait NSObjectIKImageBrowserDataSource:
57 ClassType + Sized + private_NSObjectIKImageBrowserDataSource::Sealed
58{
59 extern_methods!(
60 #[unsafe(method(numberOfItemsInImageBrowser:))]
68 #[unsafe(method_family = none)]
69 unsafe fn numberOfItemsInImageBrowser(
70 &self,
71 a_browser: Option<&IKImageBrowserView>,
72 ) -> NSUInteger;
73
74 #[unsafe(method(imageBrowser:itemAtIndex:))]
90 #[unsafe(method_family = none)]
91 unsafe fn imageBrowser_itemAtIndex(
92 &self,
93 a_browser: Option<&IKImageBrowserView>,
94 index: NSUInteger,
95 ) -> Option<Retained<AnyObject>>;
96
97 #[unsafe(method(imageBrowser:removeItemsAtIndexes:))]
106 #[unsafe(method_family = none)]
107 unsafe fn imageBrowser_removeItemsAtIndexes(
108 &self,
109 a_browser: Option<&IKImageBrowserView>,
110 indexes: Option<&NSIndexSet>,
111 );
112
113 #[unsafe(method(imageBrowser:moveItemsAtIndexes:toIndex:))]
122 #[unsafe(method_family = none)]
123 unsafe fn imageBrowser_moveItemsAtIndexes_toIndex(
124 &self,
125 a_browser: Option<&IKImageBrowserView>,
126 indexes: Option<&NSIndexSet>,
127 destination_index: NSUInteger,
128 ) -> bool;
129
130 #[unsafe(method(imageBrowser:writeItemsAtIndexes:toPasteboard:))]
140 #[unsafe(method_family = none)]
141 unsafe fn imageBrowser_writeItemsAtIndexes_toPasteboard(
142 &self,
143 a_browser: Option<&IKImageBrowserView>,
144 item_indexes: Option<&NSIndexSet>,
145 pasteboard: Option<&NSPasteboard>,
146 ) -> NSUInteger;
147
148 #[unsafe(method(numberOfGroupsInImageBrowser:))]
156 #[unsafe(method_family = none)]
157 unsafe fn numberOfGroupsInImageBrowser(
158 &self,
159 a_browser: Option<&IKImageBrowserView>,
160 ) -> NSUInteger;
161
162 #[unsafe(method(imageBrowser:groupAtIndex:))]
170 #[unsafe(method_family = none)]
171 unsafe fn imageBrowser_groupAtIndex(
172 &self,
173 a_browser: Option<&IKImageBrowserView>,
174 index: NSUInteger,
175 ) -> Option<Retained<NSDictionary>>;
176 );
177}
178
179impl private_NSObjectIKImageBrowserDataSource::Sealed for NSObject {}
180unsafe impl NSObjectIKImageBrowserDataSource for NSObject {}
181
182mod private_NSObjectIKImageBrowserItem {
183 pub trait Sealed {}
184}
185
186#[doc(alias = "IKImageBrowserItem")]
196pub unsafe trait NSObjectIKImageBrowserItem:
197 ClassType + Sized + private_NSObjectIKImageBrowserItem::Sealed
198{
199 extern_methods!(
200 #[unsafe(method(imageUID))]
204 #[unsafe(method_family = none)]
205 unsafe fn imageUID(&self) -> Option<Retained<NSString>>;
206
207 #[unsafe(method(imageRepresentationType))]
211 #[unsafe(method_family = none)]
212 unsafe fn imageRepresentationType(&self) -> Option<Retained<NSString>>;
213
214 #[unsafe(method(imageRepresentation))]
216 #[unsafe(method_family = none)]
217 unsafe fn imageRepresentation(&self) -> Option<Retained<AnyObject>>;
218
219 #[unsafe(method(imageVersion))]
221 #[unsafe(method_family = none)]
222 unsafe fn imageVersion(&self) -> NSUInteger;
223
224 #[unsafe(method(imageTitle))]
226 #[unsafe(method_family = none)]
227 unsafe fn imageTitle(&self) -> Option<Retained<NSString>>;
228
229 #[unsafe(method(imageSubtitle))]
231 #[unsafe(method_family = none)]
232 unsafe fn imageSubtitle(&self) -> Option<Retained<NSString>>;
233
234 #[unsafe(method(isSelectable))]
238 #[unsafe(method_family = none)]
239 unsafe fn isSelectable(&self) -> bool;
240 );
241}
242
243impl private_NSObjectIKImageBrowserItem::Sealed for NSObject {}
244unsafe impl NSObjectIKImageBrowserItem for NSObject {}
245
246extern_class!(
247 #[unsafe(super(NSView, NSResponder, NSObject))]
253 #[derive(Debug, PartialEq, Eq, Hash)]
254 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
255 pub struct IKImageBrowserView;
256);
257
258extern_conformance!(
259 unsafe impl NSAccessibility for IKImageBrowserView {}
260);
261
262extern_conformance!(
263 unsafe impl NSAccessibilityElementProtocol for IKImageBrowserView {}
264);
265
266extern_conformance!(
267 unsafe impl NSAnimatablePropertyContainer for IKImageBrowserView {}
268);
269
270extern_conformance!(
271 unsafe impl NSAppearanceCustomization for IKImageBrowserView {}
272);
273
274extern_conformance!(
275 unsafe impl NSCoding for IKImageBrowserView {}
276);
277
278extern_conformance!(
279 unsafe impl NSDraggingDestination for IKImageBrowserView {}
280);
281
282extern_conformance!(
283 unsafe impl NSDraggingSource for IKImageBrowserView {}
284);
285
286extern_conformance!(
287 unsafe impl NSObjectProtocol for IKImageBrowserView {}
288);
289
290extern_conformance!(
291 unsafe impl NSUserInterfaceItemIdentification for IKImageBrowserView {}
292);
293
294impl IKImageBrowserView {
295 extern_methods!();
296}
297
298impl IKImageBrowserView {
300 extern_methods!(
301 #[unsafe(method(initWithCoder:))]
305 #[unsafe(method_family = init)]
306 pub unsafe fn initWithCoder(
307 this: Allocated<Self>,
308 coder: &NSCoder,
309 ) -> Option<Retained<Self>>;
310 );
311}
312
313impl IKImageBrowserView {
315 extern_methods!(
316 #[unsafe(method(init))]
317 #[unsafe(method_family = init)]
318 pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
319 );
320}
321
322impl IKImageBrowserView {
324 extern_methods!(
325 #[unsafe(method(new))]
326 #[unsafe(method_family = new)]
327 pub unsafe fn new(mtm: MainThreadMarker) -> Retained<Self>;
328 );
329}
330
331#[deprecated = "Deprecated - Please use NSCollectionView instead"]
333impl IKImageBrowserView {
334 extern_methods!(
335 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
341 #[unsafe(method(dataSource))]
342 #[unsafe(method_family = none)]
343 pub unsafe fn dataSource(&self) -> Option<Retained<AnyObject>>;
344
345 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
353 #[unsafe(method(setDataSource:))]
354 #[unsafe(method_family = none)]
355 pub unsafe fn setDataSource(&self, data_source: Option<&AnyObject>);
356
357 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
359 #[unsafe(method(reloadData))]
360 #[unsafe(method_family = none)]
361 pub unsafe fn reloadData(&self);
362
363 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
369 #[unsafe(method(delegate))]
370 #[unsafe(method_family = none)]
371 pub unsafe fn delegate(&self) -> Option<Retained<AnyObject>>;
372
373 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
381 #[unsafe(method(setDelegate:))]
382 #[unsafe(method_family = none)]
383 pub unsafe fn setDelegate(&self, delegate: Option<&AnyObject>);
384 );
385}
386
387#[deprecated = "Deprecated - Please use NSCollectionView instead"]
389impl IKImageBrowserView {
390 extern_methods!(
391 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
397 #[unsafe(method(setCellsStyleMask:))]
398 #[unsafe(method_family = none)]
399 pub unsafe fn setCellsStyleMask(&self, mask: NSUInteger);
400
401 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
403 #[unsafe(method(cellsStyleMask))]
404 #[unsafe(method_family = none)]
405 pub unsafe fn cellsStyleMask(&self) -> NSUInteger;
406
407 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
409 #[unsafe(method(setConstrainsToOriginalSize:))]
410 #[unsafe(method_family = none)]
411 pub unsafe fn setConstrainsToOriginalSize(&self, flag: bool);
412
413 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
415 #[unsafe(method(constrainsToOriginalSize))]
416 #[unsafe(method_family = none)]
417 pub unsafe fn constrainsToOriginalSize(&self) -> bool;
418
419 #[cfg(feature = "objc2-quartz-core")]
420 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
426 #[unsafe(method(setBackgroundLayer:))]
427 #[unsafe(method_family = none)]
428 pub unsafe fn setBackgroundLayer(&self, a_layer: Option<&CALayer>);
429
430 #[cfg(feature = "objc2-quartz-core")]
431 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
433 #[unsafe(method(backgroundLayer))]
434 #[unsafe(method_family = none)]
435 pub unsafe fn backgroundLayer(&self) -> Option<Retained<CALayer>>;
436
437 #[cfg(feature = "objc2-quartz-core")]
438 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
444 #[unsafe(method(setForegroundLayer:))]
445 #[unsafe(method_family = none)]
446 pub unsafe fn setForegroundLayer(&self, a_layer: Option<&CALayer>);
447
448 #[cfg(feature = "objc2-quartz-core")]
449 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
451 #[unsafe(method(foregroundLayer))]
452 #[unsafe(method_family = none)]
453 pub unsafe fn foregroundLayer(&self) -> Option<Retained<CALayer>>;
454
455 #[cfg(feature = "IKImageBrowserCell")]
456 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
467 #[unsafe(method(newCellForRepresentedItem:))]
468 #[unsafe(method_family = new)]
469 pub unsafe fn newCellForRepresentedItem(
470 &self,
471 an_item: Option<&AnyObject>,
472 ) -> Option<Retained<IKImageBrowserCell>>;
473
474 #[cfg(feature = "IKImageBrowserCell")]
475 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
479 #[unsafe(method(cellForItemAtIndex:))]
480 #[unsafe(method_family = none)]
481 pub unsafe fn cellForItemAtIndex(
482 &self,
483 index: NSUInteger,
484 ) -> Option<Retained<IKImageBrowserCell>>;
485 );
486}
487
488#[deprecated = "Deprecated - Please use NSCollectionView instead"]
490impl IKImageBrowserView {
491 extern_methods!(
492 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
500 #[unsafe(method(setZoomValue:))]
501 #[unsafe(method_family = none)]
502 pub unsafe fn setZoomValue(&self, a_value: c_float);
503
504 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
506 #[unsafe(method(zoomValue))]
507 #[unsafe(method_family = none)]
508 pub unsafe fn zoomValue(&self) -> c_float;
509
510 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
514 #[unsafe(method(setContentResizingMask:))]
515 #[unsafe(method_family = none)]
516 pub unsafe fn setContentResizingMask(&self, mask: NSUInteger);
517
518 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
520 #[unsafe(method(contentResizingMask))]
521 #[unsafe(method_family = none)]
522 pub unsafe fn contentResizingMask(&self) -> NSUInteger;
523
524 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
526 #[unsafe(method(scrollIndexToVisible:))]
527 #[unsafe(method_family = none)]
528 pub unsafe fn scrollIndexToVisible(&self, index: NSInteger);
529
530 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
532 #[unsafe(method(setCellSize:))]
533 #[unsafe(method_family = none)]
534 pub unsafe fn setCellSize(&self, size: NSSize);
535
536 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
538 #[unsafe(method(cellSize))]
539 #[unsafe(method_family = none)]
540 pub unsafe fn cellSize(&self) -> NSSize;
541
542 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
544 #[unsafe(method(intercellSpacing))]
545 #[unsafe(method_family = none)]
546 pub unsafe fn intercellSpacing(&self) -> NSSize;
547
548 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
552 #[unsafe(method(setIntercellSpacing:))]
553 #[unsafe(method_family = none)]
554 pub unsafe fn setIntercellSpacing(&self, a_size: NSSize);
555
556 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
558 #[unsafe(method(indexOfItemAtPoint:))]
559 #[unsafe(method_family = none)]
560 pub unsafe fn indexOfItemAtPoint(&self, point: NSPoint) -> NSInteger;
561
562 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
564 #[unsafe(method(itemFrameAtIndex:))]
565 #[unsafe(method_family = none)]
566 pub unsafe fn itemFrameAtIndex(&self, index: NSInteger) -> NSRect;
567
568 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
570 #[unsafe(method(visibleItemIndexes))]
571 #[unsafe(method_family = none)]
572 pub unsafe fn visibleItemIndexes(&self) -> Option<Retained<NSIndexSet>>;
573
574 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
576 #[unsafe(method(rowIndexesInRect:))]
577 #[unsafe(method_family = none)]
578 pub unsafe fn rowIndexesInRect(&self, rect: NSRect) -> Option<Retained<NSIndexSet>>;
579
580 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
582 #[unsafe(method(columnIndexesInRect:))]
583 #[unsafe(method_family = none)]
584 pub unsafe fn columnIndexesInRect(&self, rect: NSRect) -> Option<Retained<NSIndexSet>>;
585
586 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
590 #[unsafe(method(rectOfColumn:))]
591 #[unsafe(method_family = none)]
592 pub unsafe fn rectOfColumn(&self, column_index: NSUInteger) -> NSRect;
593
594 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
598 #[unsafe(method(rectOfRow:))]
599 #[unsafe(method_family = none)]
600 pub unsafe fn rectOfRow(&self, row_index: NSUInteger) -> NSRect;
601
602 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
604 #[unsafe(method(numberOfRows))]
605 #[unsafe(method_family = none)]
606 pub unsafe fn numberOfRows(&self) -> NSUInteger;
607
608 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
610 #[unsafe(method(numberOfColumns))]
611 #[unsafe(method_family = none)]
612 pub unsafe fn numberOfColumns(&self) -> NSUInteger;
613
614 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
620 #[unsafe(method(setCanControlQuickLookPanel:))]
621 #[unsafe(method_family = none)]
622 pub unsafe fn setCanControlQuickLookPanel(&self, flag: bool);
623
624 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
626 #[unsafe(method(canControlQuickLookPanel))]
627 #[unsafe(method_family = none)]
628 pub unsafe fn canControlQuickLookPanel(&self) -> bool;
629 );
630}
631
632#[deprecated = "Deprecated - Please use NSCollectionView instead"]
634impl IKImageBrowserView {
635 extern_methods!(
636 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
638 #[unsafe(method(selectionIndexes))]
639 #[unsafe(method_family = none)]
640 pub unsafe fn selectionIndexes(&self) -> Option<Retained<NSIndexSet>>;
641
642 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
656 #[unsafe(method(setSelectionIndexes:byExtendingSelection:))]
657 #[unsafe(method_family = none)]
658 pub unsafe fn setSelectionIndexes_byExtendingSelection(
659 &self,
660 indexes: Option<&NSIndexSet>,
661 extend_selection: bool,
662 );
663
664 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
666 #[unsafe(method(setAllowsMultipleSelection:))]
667 #[unsafe(method_family = none)]
668 pub unsafe fn setAllowsMultipleSelection(&self, flag: bool);
669
670 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
672 #[unsafe(method(allowsMultipleSelection))]
673 #[unsafe(method_family = none)]
674 pub unsafe fn allowsMultipleSelection(&self) -> bool;
675
676 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
678 #[unsafe(method(setAllowsEmptySelection:))]
679 #[unsafe(method_family = none)]
680 pub unsafe fn setAllowsEmptySelection(&self, flag: bool);
681
682 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
684 #[unsafe(method(allowsEmptySelection))]
685 #[unsafe(method_family = none)]
686 pub unsafe fn allowsEmptySelection(&self) -> bool;
687
688 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
690 #[unsafe(method(setAllowsReordering:))]
691 #[unsafe(method_family = none)]
692 pub unsafe fn setAllowsReordering(&self, flag: bool);
693
694 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
696 #[unsafe(method(allowsReordering))]
697 #[unsafe(method_family = none)]
698 pub unsafe fn allowsReordering(&self) -> bool;
699
700 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
702 #[unsafe(method(setAnimates:))]
703 #[unsafe(method_family = none)]
704 pub unsafe fn setAnimates(&self, flag: bool);
705
706 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
708 #[unsafe(method(animates))]
709 #[unsafe(method_family = none)]
710 pub unsafe fn animates(&self) -> bool;
711
712 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
714 #[unsafe(method(expandGroupAtIndex:))]
715 #[unsafe(method_family = none)]
716 pub unsafe fn expandGroupAtIndex(&self, index: NSUInteger);
717
718 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
720 #[unsafe(method(collapseGroupAtIndex:))]
721 #[unsafe(method_family = none)]
722 pub unsafe fn collapseGroupAtIndex(&self, index: NSUInteger);
723
724 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
726 #[unsafe(method(isGroupExpandedAtIndex:))]
727 #[unsafe(method_family = none)]
728 pub unsafe fn isGroupExpandedAtIndex(&self, index: NSUInteger) -> bool;
729 );
730}
731
732#[deprecated = "Deprecated - Please use NSCollectionView instead"]
734impl IKImageBrowserView {
735 extern_methods!(
736 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
747 #[unsafe(method(setDraggingDestinationDelegate:))]
748 #[unsafe(method_family = none)]
749 pub unsafe fn setDraggingDestinationDelegate(&self, delegate: Option<&AnyObject>);
750
751 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
753 #[unsafe(method(draggingDestinationDelegate))]
754 #[unsafe(method_family = none)]
755 pub unsafe fn draggingDestinationDelegate(&self) -> Option<Retained<AnyObject>>;
756
757 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
759 #[unsafe(method(indexAtLocationOfDroppedItem))]
760 #[unsafe(method_family = none)]
761 pub unsafe fn indexAtLocationOfDroppedItem(&self) -> NSUInteger;
762
763 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
768 #[unsafe(method(dropOperation))]
769 #[unsafe(method_family = none)]
770 pub unsafe fn dropOperation(&self) -> IKImageBrowserDropOperation;
771
772 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
774 #[unsafe(method(setAllowsDroppingOnItems:))]
775 #[unsafe(method_family = none)]
776 pub unsafe fn setAllowsDroppingOnItems(&self, flag: bool);
777
778 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
780 #[unsafe(method(allowsDroppingOnItems))]
781 #[unsafe(method_family = none)]
782 pub unsafe fn allowsDroppingOnItems(&self) -> bool;
783
784 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
788 #[unsafe(method(setDropIndex:dropOperation:))]
789 #[unsafe(method_family = none)]
790 pub unsafe fn setDropIndex_dropOperation(
791 &self,
792 index: NSInteger,
793 operation: IKImageBrowserDropOperation,
794 );
795 );
796}
797
798mod private_NSObjectIKImageBrowserDelegate {
799 pub trait Sealed {}
800}
801
802#[doc(alias = "IKImageBrowserDelegate")]
806pub unsafe trait NSObjectIKImageBrowserDelegate:
807 ClassType + Sized + private_NSObjectIKImageBrowserDelegate::Sealed
808{
809 extern_methods!(
810 #[unsafe(method(imageBrowserSelectionDidChange:))]
816 #[unsafe(method_family = none)]
817 unsafe fn imageBrowserSelectionDidChange(&self, a_browser: Option<&IKImageBrowserView>);
818
819 #[unsafe(method(imageBrowser:cellWasDoubleClickedAtIndex:))]
827 #[unsafe(method_family = none)]
828 unsafe fn imageBrowser_cellWasDoubleClickedAtIndex(
829 &self,
830 a_browser: Option<&IKImageBrowserView>,
831 index: NSUInteger,
832 );
833
834 #[unsafe(method(imageBrowser:cellWasRightClickedAtIndex:withEvent:))]
843 #[unsafe(method_family = none)]
844 unsafe fn imageBrowser_cellWasRightClickedAtIndex_withEvent(
845 &self,
846 a_browser: Option<&IKImageBrowserView>,
847 index: NSUInteger,
848 event: Option<&NSEvent>,
849 );
850
851 #[unsafe(method(imageBrowser:backgroundWasRightClickedWithEvent:))]
858 #[unsafe(method_family = none)]
859 unsafe fn imageBrowser_backgroundWasRightClickedWithEvent(
860 &self,
861 a_browser: Option<&IKImageBrowserView>,
862 event: Option<&NSEvent>,
863 );
864 );
865}
866
867impl private_NSObjectIKImageBrowserDelegate::Sealed for NSObject {}
868unsafe impl NSObjectIKImageBrowserDelegate for NSObject {}
869
870extern "C" {
871 pub static IKImageBrowserPathRepresentationType: Option<&'static NSString>;
873}
874
875extern "C" {
876 pub static IKImageBrowserNSURLRepresentationType: Option<&'static NSString>;
878}
879
880extern "C" {
881 pub static IKImageBrowserNSImageRepresentationType: Option<&'static NSString>;
883}
884
885extern "C" {
886 pub static IKImageBrowserCGImageRepresentationType: Option<&'static NSString>;
888}
889
890extern "C" {
891 pub static IKImageBrowserCGImageSourceRepresentationType: Option<&'static NSString>;
893}
894
895extern "C" {
896 pub static IKImageBrowserNSDataRepresentationType: Option<&'static NSString>;
898}
899
900extern "C" {
901 pub static IKImageBrowserNSBitmapImageRepresentationType: Option<&'static NSString>;
903}
904
905extern "C" {
906 pub static IKImageBrowserQTMovieRepresentationType: Option<&'static NSString>;
908}
909
910extern "C" {
911 pub static IKImageBrowserQTMoviePathRepresentationType: Option<&'static NSString>;
913}
914
915extern "C" {
916 pub static IKImageBrowserQCCompositionRepresentationType: Option<&'static NSString>;
918}
919
920extern "C" {
921 pub static IKImageBrowserQCCompositionPathRepresentationType: Option<&'static NSString>;
923}
924
925extern "C" {
926 pub static IKImageBrowserQuickLookPathRepresentationType: Option<&'static NSString>;
928}
929
930extern "C" {
931 pub static IKImageBrowserIconRefPathRepresentationType: Option<&'static NSString>;
933}
934
935extern "C" {
936 pub static IKImageBrowserIconRefRepresentationType: Option<&'static NSString>;
938}
939
940extern "C" {
941 pub static IKImageBrowserPDFPageRepresentationType: Option<&'static NSString>;
943}
944
945extern "C" {
946 pub static IKImageBrowserBackgroundColorKey: Option<&'static NSString>;
948}
949
950extern "C" {
951 pub static IKImageBrowserSelectionColorKey: Option<&'static NSString>;
953}
954
955extern "C" {
956 pub static IKImageBrowserCellsOutlineColorKey: Option<&'static NSString>;
958}
959
960extern "C" {
961 pub static IKImageBrowserCellsTitleAttributesKey: Option<&'static NSString>;
963}
964
965extern "C" {
966 pub static IKImageBrowserCellsHighlightedTitleAttributesKey: Option<&'static NSString>;
968}
969
970extern "C" {
971 pub static IKImageBrowserCellsSubtitleAttributesKey: Option<&'static NSString>;
973}
974
975extern "C" {
976 pub static IKImageBrowserGroupRangeKey: Option<&'static NSString>;
978}
979
980extern "C" {
981 pub static IKImageBrowserGroupBackgroundColorKey: Option<&'static NSString>;
983}
984
985extern "C" {
986 pub static IKImageBrowserGroupTitleKey: Option<&'static NSString>;
988}
989
990extern "C" {
991 pub static IKImageBrowserGroupStyleKey: Option<&'static NSString>;
993}
994
995extern "C" {
996 pub static IKImageBrowserGroupHeaderLayer: Option<&'static NSString>;
998}
999
1000extern "C" {
1001 pub static IKImageBrowserGroupFooterLayer: Option<&'static NSString>;
1003}