objc2_ui_kit/generated/
UISceneWindowingBehaviors.rs1use core::ffi::*;
4use core::ptr::NonNull;
5use objc2::__framework_prelude::*;
6
7use crate::*;
8
9extern_class!(
10 #[unsafe(super(NSObject))]
12 #[thread_kind = MainThreadOnly]
13 #[derive(Debug, PartialEq, Eq, Hash)]
14 pub struct UISceneWindowingBehaviors;
15);
16
17unsafe impl NSObjectProtocol for UISceneWindowingBehaviors {}
18
19impl UISceneWindowingBehaviors {
20 extern_methods!(
21 #[unsafe(method(init))]
22 #[unsafe(method_family = init)]
23 pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
24
25 #[unsafe(method(new))]
26 #[unsafe(method_family = new)]
27 pub unsafe fn new(mtm: MainThreadMarker) -> Retained<Self>;
28
29 #[unsafe(method(isClosable))]
30 #[unsafe(method_family = none)]
31 pub unsafe fn isClosable(&self) -> bool;
32
33 #[unsafe(method(setClosable:))]
35 #[unsafe(method_family = none)]
36 pub unsafe fn setClosable(&self, closable: bool);
37
38 #[unsafe(method(isMiniaturizable))]
39 #[unsafe(method_family = none)]
40 pub unsafe fn isMiniaturizable(&self) -> bool;
41
42 #[unsafe(method(setMiniaturizable:))]
44 #[unsafe(method_family = none)]
45 pub unsafe fn setMiniaturizable(&self, miniaturizable: bool);
46 );
47}