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")]
55pub unsafe trait NSObjectIKImageBrowserDataSource:
56 ClassType + Sized + private_NSObjectIKImageBrowserDataSource::Sealed
57{
58 extern_methods!(
59 #[unsafe(method(numberOfItemsInImageBrowser:))]
63 #[unsafe(method_family = none)]
64 unsafe fn numberOfItemsInImageBrowser(
65 &self,
66 a_browser: Option<&IKImageBrowserView>,
67 ) -> NSUInteger;
68
69 #[unsafe(method(imageBrowser:itemAtIndex:))]
81 #[unsafe(method_family = none)]
82 unsafe fn imageBrowser_itemAtIndex(
83 &self,
84 a_browser: Option<&IKImageBrowserView>,
85 index: NSUInteger,
86 ) -> Option<Retained<AnyObject>>;
87
88 #[unsafe(method(imageBrowser:removeItemsAtIndexes:))]
92 #[unsafe(method_family = none)]
93 unsafe fn imageBrowser_removeItemsAtIndexes(
94 &self,
95 a_browser: Option<&IKImageBrowserView>,
96 indexes: Option<&NSIndexSet>,
97 );
98
99 #[unsafe(method(imageBrowser:moveItemsAtIndexes:toIndex:))]
103 #[unsafe(method_family = none)]
104 unsafe fn imageBrowser_moveItemsAtIndexes_toIndex(
105 &self,
106 a_browser: Option<&IKImageBrowserView>,
107 indexes: Option<&NSIndexSet>,
108 destination_index: NSUInteger,
109 ) -> bool;
110
111 #[unsafe(method(imageBrowser:writeItemsAtIndexes:toPasteboard:))]
115 #[unsafe(method_family = none)]
116 unsafe fn imageBrowser_writeItemsAtIndexes_toPasteboard(
117 &self,
118 a_browser: Option<&IKImageBrowserView>,
119 item_indexes: Option<&NSIndexSet>,
120 pasteboard: Option<&NSPasteboard>,
121 ) -> NSUInteger;
122
123 #[unsafe(method(numberOfGroupsInImageBrowser:))]
127 #[unsafe(method_family = none)]
128 unsafe fn numberOfGroupsInImageBrowser(
129 &self,
130 a_browser: Option<&IKImageBrowserView>,
131 ) -> NSUInteger;
132
133 #[unsafe(method(imageBrowser:groupAtIndex:))]
137 #[unsafe(method_family = none)]
138 unsafe fn imageBrowser_groupAtIndex(
139 &self,
140 a_browser: Option<&IKImageBrowserView>,
141 index: NSUInteger,
142 ) -> Option<Retained<NSDictionary>>;
143 );
144}
145
146impl private_NSObjectIKImageBrowserDataSource::Sealed for NSObject {}
147unsafe impl NSObjectIKImageBrowserDataSource for NSObject {}
148
149mod private_NSObjectIKImageBrowserItem {
150 pub trait Sealed {}
151}
152
153#[doc(alias = "IKImageBrowserItem")]
162pub unsafe trait NSObjectIKImageBrowserItem:
163 ClassType + Sized + private_NSObjectIKImageBrowserItem::Sealed
164{
165 extern_methods!(
166 #[unsafe(method(imageUID))]
170 #[unsafe(method_family = none)]
171 unsafe fn imageUID(&self) -> Option<Retained<NSString>>;
172
173 #[unsafe(method(imageRepresentationType))]
177 #[unsafe(method_family = none)]
178 unsafe fn imageRepresentationType(&self) -> Option<Retained<NSString>>;
179
180 #[unsafe(method(imageRepresentation))]
182 #[unsafe(method_family = none)]
183 unsafe fn imageRepresentation(&self) -> Option<Retained<AnyObject>>;
184
185 #[unsafe(method(imageVersion))]
187 #[unsafe(method_family = none)]
188 unsafe fn imageVersion(&self) -> NSUInteger;
189
190 #[unsafe(method(imageTitle))]
192 #[unsafe(method_family = none)]
193 unsafe fn imageTitle(&self) -> Option<Retained<NSString>>;
194
195 #[unsafe(method(imageSubtitle))]
197 #[unsafe(method_family = none)]
198 unsafe fn imageSubtitle(&self) -> Option<Retained<NSString>>;
199
200 #[unsafe(method(isSelectable))]
204 #[unsafe(method_family = none)]
205 unsafe fn isSelectable(&self) -> bool;
206 );
207}
208
209impl private_NSObjectIKImageBrowserItem::Sealed for NSObject {}
210unsafe impl NSObjectIKImageBrowserItem for NSObject {}
211
212extern_class!(
213 #[unsafe(super(NSView, NSResponder, NSObject))]
219 #[derive(Debug, PartialEq, Eq, Hash)]
220 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
221 pub struct IKImageBrowserView;
222);
223
224extern_conformance!(
225 unsafe impl NSAccessibility for IKImageBrowserView {}
226);
227
228extern_conformance!(
229 unsafe impl NSAccessibilityElementProtocol for IKImageBrowserView {}
230);
231
232extern_conformance!(
233 unsafe impl NSAnimatablePropertyContainer for IKImageBrowserView {}
234);
235
236extern_conformance!(
237 unsafe impl NSAppearanceCustomization for IKImageBrowserView {}
238);
239
240extern_conformance!(
241 unsafe impl NSCoding for IKImageBrowserView {}
242);
243
244extern_conformance!(
245 unsafe impl NSDraggingDestination for IKImageBrowserView {}
246);
247
248extern_conformance!(
249 unsafe impl NSDraggingSource for IKImageBrowserView {}
250);
251
252extern_conformance!(
253 unsafe impl NSObjectProtocol for IKImageBrowserView {}
254);
255
256extern_conformance!(
257 unsafe impl NSUserInterfaceItemIdentification for IKImageBrowserView {}
258);
259
260impl IKImageBrowserView {
261 extern_methods!();
262}
263
264impl IKImageBrowserView {
266 extern_methods!(
267 #[unsafe(method(initWithCoder:))]
268 #[unsafe(method_family = init)]
269 pub unsafe fn initWithCoder(
270 this: Allocated<Self>,
271 coder: &NSCoder,
272 ) -> Option<Retained<Self>>;
273 );
274}
275
276impl IKImageBrowserView {
278 extern_methods!(
279 #[unsafe(method(init))]
280 #[unsafe(method_family = init)]
281 pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
282 );
283}
284
285impl IKImageBrowserView {
287 extern_methods!(
288 #[unsafe(method(new))]
289 #[unsafe(method_family = new)]
290 pub unsafe fn new(mtm: MainThreadMarker) -> Retained<Self>;
291 );
292}
293
294impl IKImageBrowserView {
296 extern_methods!(
297 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
299 #[unsafe(method(dataSource))]
300 #[unsafe(method_family = none)]
301 pub unsafe fn dataSource(&self) -> Option<Retained<AnyObject>>;
302
303 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
305 #[unsafe(method(setDataSource:))]
306 #[unsafe(method_family = none)]
307 pub unsafe fn setDataSource(&self, data_source: Option<&AnyObject>);
308
309 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
311 #[unsafe(method(reloadData))]
312 #[unsafe(method_family = none)]
313 pub unsafe fn reloadData(&self);
314
315 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
317 #[unsafe(method(delegate))]
318 #[unsafe(method_family = none)]
319 pub unsafe fn delegate(&self) -> Option<Retained<AnyObject>>;
320
321 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
323 #[unsafe(method(setDelegate:))]
324 #[unsafe(method_family = none)]
325 pub unsafe fn setDelegate(&self, delegate: Option<&AnyObject>);
326 );
327}
328
329impl IKImageBrowserView {
331 extern_methods!(
332 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
338 #[unsafe(method(setCellsStyleMask:))]
339 #[unsafe(method_family = none)]
340 pub unsafe fn setCellsStyleMask(&self, mask: NSUInteger);
341
342 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
344 #[unsafe(method(cellsStyleMask))]
345 #[unsafe(method_family = none)]
346 pub unsafe fn cellsStyleMask(&self) -> NSUInteger;
347
348 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
350 #[unsafe(method(setConstrainsToOriginalSize:))]
351 #[unsafe(method_family = none)]
352 pub unsafe fn setConstrainsToOriginalSize(&self, flag: bool);
353
354 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
356 #[unsafe(method(constrainsToOriginalSize))]
357 #[unsafe(method_family = none)]
358 pub unsafe fn constrainsToOriginalSize(&self) -> bool;
359
360 #[cfg(feature = "objc2-quartz-core")]
361 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
363 #[unsafe(method(setBackgroundLayer:))]
364 #[unsafe(method_family = none)]
365 pub unsafe fn setBackgroundLayer(&self, a_layer: Option<&CALayer>);
366
367 #[cfg(feature = "objc2-quartz-core")]
368 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
370 #[unsafe(method(backgroundLayer))]
371 #[unsafe(method_family = none)]
372 pub unsafe fn backgroundLayer(&self) -> Option<Retained<CALayer>>;
373
374 #[cfg(feature = "objc2-quartz-core")]
375 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
377 #[unsafe(method(setForegroundLayer:))]
378 #[unsafe(method_family = none)]
379 pub unsafe fn setForegroundLayer(&self, a_layer: Option<&CALayer>);
380
381 #[cfg(feature = "objc2-quartz-core")]
382 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
384 #[unsafe(method(foregroundLayer))]
385 #[unsafe(method_family = none)]
386 pub unsafe fn foregroundLayer(&self) -> Option<Retained<CALayer>>;
387
388 #[cfg(feature = "IKImageBrowserCell")]
389 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
395 #[unsafe(method(newCellForRepresentedItem:))]
396 #[unsafe(method_family = new)]
397 pub unsafe fn newCellForRepresentedItem(
398 &self,
399 an_item: Option<&AnyObject>,
400 ) -> Option<Retained<IKImageBrowserCell>>;
401
402 #[cfg(feature = "IKImageBrowserCell")]
403 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
407 #[unsafe(method(cellForItemAtIndex:))]
408 #[unsafe(method_family = none)]
409 pub unsafe fn cellForItemAtIndex(
410 &self,
411 index: NSUInteger,
412 ) -> Option<Retained<IKImageBrowserCell>>;
413 );
414}
415
416impl IKImageBrowserView {
418 extern_methods!(
419 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
427 #[unsafe(method(setZoomValue:))]
428 #[unsafe(method_family = none)]
429 pub unsafe fn setZoomValue(&self, a_value: c_float);
430
431 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
433 #[unsafe(method(zoomValue))]
434 #[unsafe(method_family = none)]
435 pub unsafe fn zoomValue(&self) -> c_float;
436
437 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
441 #[unsafe(method(setContentResizingMask:))]
442 #[unsafe(method_family = none)]
443 pub unsafe fn setContentResizingMask(&self, mask: NSUInteger);
444
445 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
447 #[unsafe(method(contentResizingMask))]
448 #[unsafe(method_family = none)]
449 pub unsafe fn contentResizingMask(&self) -> NSUInteger;
450
451 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
453 #[unsafe(method(scrollIndexToVisible:))]
454 #[unsafe(method_family = none)]
455 pub unsafe fn scrollIndexToVisible(&self, index: NSInteger);
456
457 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
459 #[unsafe(method(setCellSize:))]
460 #[unsafe(method_family = none)]
461 pub unsafe fn setCellSize(&self, size: NSSize);
462
463 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
465 #[unsafe(method(cellSize))]
466 #[unsafe(method_family = none)]
467 pub unsafe fn cellSize(&self) -> NSSize;
468
469 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
471 #[unsafe(method(intercellSpacing))]
472 #[unsafe(method_family = none)]
473 pub unsafe fn intercellSpacing(&self) -> NSSize;
474
475 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
479 #[unsafe(method(setIntercellSpacing:))]
480 #[unsafe(method_family = none)]
481 pub unsafe fn setIntercellSpacing(&self, a_size: NSSize);
482
483 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
485 #[unsafe(method(indexOfItemAtPoint:))]
486 #[unsafe(method_family = none)]
487 pub unsafe fn indexOfItemAtPoint(&self, point: NSPoint) -> NSInteger;
488
489 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
491 #[unsafe(method(itemFrameAtIndex:))]
492 #[unsafe(method_family = none)]
493 pub unsafe fn itemFrameAtIndex(&self, index: NSInteger) -> NSRect;
494
495 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
497 #[unsafe(method(visibleItemIndexes))]
498 #[unsafe(method_family = none)]
499 pub unsafe fn visibleItemIndexes(&self) -> Option<Retained<NSIndexSet>>;
500
501 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
503 #[unsafe(method(rowIndexesInRect:))]
504 #[unsafe(method_family = none)]
505 pub unsafe fn rowIndexesInRect(&self, rect: NSRect) -> Option<Retained<NSIndexSet>>;
506
507 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
509 #[unsafe(method(columnIndexesInRect:))]
510 #[unsafe(method_family = none)]
511 pub unsafe fn columnIndexesInRect(&self, rect: NSRect) -> Option<Retained<NSIndexSet>>;
512
513 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
517 #[unsafe(method(rectOfColumn:))]
518 #[unsafe(method_family = none)]
519 pub unsafe fn rectOfColumn(&self, column_index: NSUInteger) -> NSRect;
520
521 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
525 #[unsafe(method(rectOfRow:))]
526 #[unsafe(method_family = none)]
527 pub unsafe fn rectOfRow(&self, row_index: NSUInteger) -> NSRect;
528
529 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
531 #[unsafe(method(numberOfRows))]
532 #[unsafe(method_family = none)]
533 pub unsafe fn numberOfRows(&self) -> NSUInteger;
534
535 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
537 #[unsafe(method(numberOfColumns))]
538 #[unsafe(method_family = none)]
539 pub unsafe fn numberOfColumns(&self) -> NSUInteger;
540
541 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
547 #[unsafe(method(setCanControlQuickLookPanel:))]
548 #[unsafe(method_family = none)]
549 pub unsafe fn setCanControlQuickLookPanel(&self, flag: bool);
550
551 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
553 #[unsafe(method(canControlQuickLookPanel))]
554 #[unsafe(method_family = none)]
555 pub unsafe fn canControlQuickLookPanel(&self) -> bool;
556 );
557}
558
559impl IKImageBrowserView {
561 extern_methods!(
562 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
564 #[unsafe(method(selectionIndexes))]
565 #[unsafe(method_family = none)]
566 pub unsafe fn selectionIndexes(&self) -> Option<Retained<NSIndexSet>>;
567
568 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
578 #[unsafe(method(setSelectionIndexes:byExtendingSelection:))]
579 #[unsafe(method_family = none)]
580 pub unsafe fn setSelectionIndexes_byExtendingSelection(
581 &self,
582 indexes: Option<&NSIndexSet>,
583 extend_selection: bool,
584 );
585
586 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
588 #[unsafe(method(setAllowsMultipleSelection:))]
589 #[unsafe(method_family = none)]
590 pub unsafe fn setAllowsMultipleSelection(&self, flag: bool);
591
592 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
594 #[unsafe(method(allowsMultipleSelection))]
595 #[unsafe(method_family = none)]
596 pub unsafe fn allowsMultipleSelection(&self) -> bool;
597
598 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
600 #[unsafe(method(setAllowsEmptySelection:))]
601 #[unsafe(method_family = none)]
602 pub unsafe fn setAllowsEmptySelection(&self, flag: bool);
603
604 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
606 #[unsafe(method(allowsEmptySelection))]
607 #[unsafe(method_family = none)]
608 pub unsafe fn allowsEmptySelection(&self) -> bool;
609
610 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
612 #[unsafe(method(setAllowsReordering:))]
613 #[unsafe(method_family = none)]
614 pub unsafe fn setAllowsReordering(&self, flag: bool);
615
616 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
618 #[unsafe(method(allowsReordering))]
619 #[unsafe(method_family = none)]
620 pub unsafe fn allowsReordering(&self) -> bool;
621
622 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
624 #[unsafe(method(setAnimates:))]
625 #[unsafe(method_family = none)]
626 pub unsafe fn setAnimates(&self, flag: bool);
627
628 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
630 #[unsafe(method(animates))]
631 #[unsafe(method_family = none)]
632 pub unsafe fn animates(&self) -> bool;
633
634 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
636 #[unsafe(method(expandGroupAtIndex:))]
637 #[unsafe(method_family = none)]
638 pub unsafe fn expandGroupAtIndex(&self, index: NSUInteger);
639
640 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
642 #[unsafe(method(collapseGroupAtIndex:))]
643 #[unsafe(method_family = none)]
644 pub unsafe fn collapseGroupAtIndex(&self, index: NSUInteger);
645
646 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
648 #[unsafe(method(isGroupExpandedAtIndex:))]
649 #[unsafe(method_family = none)]
650 pub unsafe fn isGroupExpandedAtIndex(&self, index: NSUInteger) -> bool;
651 );
652}
653
654impl IKImageBrowserView {
656 extern_methods!(
657 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
663 #[unsafe(method(setDraggingDestinationDelegate:))]
664 #[unsafe(method_family = none)]
665 pub unsafe fn setDraggingDestinationDelegate(&self, delegate: Option<&AnyObject>);
666
667 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
669 #[unsafe(method(draggingDestinationDelegate))]
670 #[unsafe(method_family = none)]
671 pub unsafe fn draggingDestinationDelegate(&self) -> Option<Retained<AnyObject>>;
672
673 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
675 #[unsafe(method(indexAtLocationOfDroppedItem))]
676 #[unsafe(method_family = none)]
677 pub unsafe fn indexAtLocationOfDroppedItem(&self) -> NSUInteger;
678
679 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
684 #[unsafe(method(dropOperation))]
685 #[unsafe(method_family = none)]
686 pub unsafe fn dropOperation(&self) -> IKImageBrowserDropOperation;
687
688 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
690 #[unsafe(method(setAllowsDroppingOnItems:))]
691 #[unsafe(method_family = none)]
692 pub unsafe fn setAllowsDroppingOnItems(&self, flag: bool);
693
694 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
696 #[unsafe(method(allowsDroppingOnItems))]
697 #[unsafe(method_family = none)]
698 pub unsafe fn allowsDroppingOnItems(&self) -> bool;
699
700 #[deprecated = "Deprecated - Please use NSCollectionView instead"]
704 #[unsafe(method(setDropIndex:dropOperation:))]
705 #[unsafe(method_family = none)]
706 pub unsafe fn setDropIndex_dropOperation(
707 &self,
708 index: NSInteger,
709 operation: IKImageBrowserDropOperation,
710 );
711 );
712}
713
714mod private_NSObjectIKImageBrowserDelegate {
715 pub trait Sealed {}
716}
717
718#[doc(alias = "IKImageBrowserDelegate")]
721pub unsafe trait NSObjectIKImageBrowserDelegate:
722 ClassType + Sized + private_NSObjectIKImageBrowserDelegate::Sealed
723{
724 extern_methods!(
725 #[unsafe(method(imageBrowserSelectionDidChange:))]
727 #[unsafe(method_family = none)]
728 unsafe fn imageBrowserSelectionDidChange(&self, a_browser: Option<&IKImageBrowserView>);
729
730 #[unsafe(method(imageBrowser:cellWasDoubleClickedAtIndex:))]
734 #[unsafe(method_family = none)]
735 unsafe fn imageBrowser_cellWasDoubleClickedAtIndex(
736 &self,
737 a_browser: Option<&IKImageBrowserView>,
738 index: NSUInteger,
739 );
740
741 #[unsafe(method(imageBrowser:cellWasRightClickedAtIndex:withEvent:))]
745 #[unsafe(method_family = none)]
746 unsafe fn imageBrowser_cellWasRightClickedAtIndex_withEvent(
747 &self,
748 a_browser: Option<&IKImageBrowserView>,
749 index: NSUInteger,
750 event: Option<&NSEvent>,
751 );
752
753 #[unsafe(method(imageBrowser:backgroundWasRightClickedWithEvent:))]
755 #[unsafe(method_family = none)]
756 unsafe fn imageBrowser_backgroundWasRightClickedWithEvent(
757 &self,
758 a_browser: Option<&IKImageBrowserView>,
759 event: Option<&NSEvent>,
760 );
761 );
762}
763
764impl private_NSObjectIKImageBrowserDelegate::Sealed for NSObject {}
765unsafe impl NSObjectIKImageBrowserDelegate for NSObject {}
766
767extern "C" {
768 pub static IKImageBrowserPathRepresentationType: Option<&'static NSString>;
770}
771
772extern "C" {
773 pub static IKImageBrowserNSURLRepresentationType: Option<&'static NSString>;
775}
776
777extern "C" {
778 pub static IKImageBrowserNSImageRepresentationType: Option<&'static NSString>;
780}
781
782extern "C" {
783 pub static IKImageBrowserCGImageRepresentationType: Option<&'static NSString>;
785}
786
787extern "C" {
788 pub static IKImageBrowserCGImageSourceRepresentationType: Option<&'static NSString>;
790}
791
792extern "C" {
793 pub static IKImageBrowserNSDataRepresentationType: Option<&'static NSString>;
795}
796
797extern "C" {
798 pub static IKImageBrowserNSBitmapImageRepresentationType: Option<&'static NSString>;
800}
801
802extern "C" {
803 pub static IKImageBrowserQTMovieRepresentationType: Option<&'static NSString>;
805}
806
807extern "C" {
808 pub static IKImageBrowserQTMoviePathRepresentationType: Option<&'static NSString>;
810}
811
812extern "C" {
813 pub static IKImageBrowserQCCompositionRepresentationType: Option<&'static NSString>;
815}
816
817extern "C" {
818 pub static IKImageBrowserQCCompositionPathRepresentationType: Option<&'static NSString>;
820}
821
822extern "C" {
823 pub static IKImageBrowserQuickLookPathRepresentationType: Option<&'static NSString>;
825}
826
827extern "C" {
828 pub static IKImageBrowserIconRefPathRepresentationType: Option<&'static NSString>;
830}
831
832extern "C" {
833 pub static IKImageBrowserIconRefRepresentationType: Option<&'static NSString>;
835}
836
837extern "C" {
838 pub static IKImageBrowserPDFPageRepresentationType: Option<&'static NSString>;
840}
841
842extern "C" {
843 pub static IKImageBrowserBackgroundColorKey: Option<&'static NSString>;
845}
846
847extern "C" {
848 pub static IKImageBrowserSelectionColorKey: Option<&'static NSString>;
850}
851
852extern "C" {
853 pub static IKImageBrowserCellsOutlineColorKey: Option<&'static NSString>;
855}
856
857extern "C" {
858 pub static IKImageBrowserCellsTitleAttributesKey: Option<&'static NSString>;
860}
861
862extern "C" {
863 pub static IKImageBrowserCellsHighlightedTitleAttributesKey: Option<&'static NSString>;
865}
866
867extern "C" {
868 pub static IKImageBrowserCellsSubtitleAttributesKey: Option<&'static NSString>;
870}
871
872extern "C" {
873 pub static IKImageBrowserGroupRangeKey: Option<&'static NSString>;
875}
876
877extern "C" {
878 pub static IKImageBrowserGroupBackgroundColorKey: Option<&'static NSString>;
880}
881
882extern "C" {
883 pub static IKImageBrowserGroupTitleKey: Option<&'static NSString>;
885}
886
887extern "C" {
888 pub static IKImageBrowserGroupStyleKey: Option<&'static NSString>;
890}
891
892extern "C" {
893 pub static IKImageBrowserGroupHeaderLayer: Option<&'static NSString>;
895}
896
897extern "C" {
898 pub static IKImageBrowserGroupFooterLayer: Option<&'static NSString>;
900}