We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
setWorksWhenModal
NSPanel
1 parent dd1135e commit 01169afCopy full SHA for 01169af
cocoa/src/appkit.rs
@@ -1813,6 +1813,7 @@ pub trait NSPanel: Sized {
1813
unsafe fn becomesKeyOnlyIfNeeded(self) -> BOOL;
1814
unsafe fn setFloatingPanel(self, floatingPanel: BOOL);
1815
unsafe fn floatingPanel(self) -> BOOL;
1816
+ unsafe fn setWorksWhenModal(self, worksWithPanel: BOOL);
1817
}
1818
1819
impl NSPanel for id {
@@ -1833,6 +1834,10 @@ impl NSPanel for id {
1833
1834
unsafe fn floatingPanel(self) -> BOOL {
1835
msg_send![self, isFloatingPanel]
1836
1837
+
1838
+ unsafe fn setWorksWhenModal(self, worksWhenModal: BOOL) {
1839
+ msg_send![self, setWorksWhenModal: worksWhenModal]
1840
+ }
1841
1842
1843
#[repr(i64)]
0 commit comments